From e944993d4b85b8c8d4b88466d75a5e33fb58923a Mon Sep 17 00:00:00 2001 From: imaimai17468 Date: Tue, 6 Sep 2022 11:28:50 +0900 Subject: [PATCH] [feature]add time schedule, first day sunny, all(#84) --- lib/pages/schedule_page_first_day_sunny.dart | 245 ++++++++++++++++++- 1 file changed, 240 insertions(+), 5 deletions(-) diff --git a/lib/pages/schedule_page_first_day_sunny.dart b/lib/pages/schedule_page_first_day_sunny.dart index 6c49e51..406d5d8 100644 --- a/lib/pages/schedule_page_first_day_sunny.dart +++ b/lib/pages/schedule_page_first_day_sunny.dart @@ -35,11 +35,11 @@ class _SchedulePageFirstDaySunnyState extends State { child: Table( border: TableBorder.all(color: Colors.black), columnWidths: const { - 0: FlexColumnWidth(5), - 1: FlexColumnWidth(10), - 2: FlexColumnWidth(10), - 3: FlexColumnWidth(10), - 4: FlexColumnWidth(10), + 0: FlexColumnWidth(10), + 1: FlexColumnWidth(15), + 2: FlexColumnWidth(15), + 3: FlexColumnWidth(15), + 4: FlexColumnWidth(15), }, defaultVerticalAlignment: TableCellVerticalAlignment.middle, children: [ @@ -504,6 +504,241 @@ class _SchedulePageFirstDaySunnyState extends State { ), ), ]), + + // 13行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("15:00~\n15:30"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), + + // 14行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("15:30~\n16:00"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), + + // 15行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("16:00~\n16:30"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), + + // 16行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("16:30~\n17:00"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text("ヒーローショー"), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), + + // 15行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("17:00~\n17:30"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), + + // 17行目 + TableRow(children: [ + TableCell( + child: Container( + child: Text("17:30~\n18:00"), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + ), + ), + TableCell( + verticalAlignment: TableCellVerticalAlignment.fill, + child: Container( + child: Text(""), + alignment: Alignment.center, + color: Colors.lightGreen, + ), + ), + ]), ], ), ),