Refine schedule/todo UI and integrate Google Photos API

This commit is contained in:
kihong.kim
2026-02-01 00:30:32 +09:00
parent 7ddd29dfed
commit c614c883d4
15 changed files with 2124 additions and 565 deletions

View File

@@ -90,26 +90,37 @@ class _TvDashboardScreenState extends State<TvDashboardScreen> {
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Left Column: Calendar, Schedule, Announcement
// Left Column: Calendar, Bible Verse (Swapped)
Expanded(
flex: 3,
child: Column(
children: [
const Expanded(
flex: 4, child: CalendarWidget()),
flex: 3, child: CalendarWidget()), // Increased flex from 2 to 3
const SizedBox(height: 16),
const Expanded(
flex: 4, child: ScheduleListWidget()),
const SizedBox(height: 16),
const Expanded(
flex: 2, child: AnnouncementWidget()),
flex: 3, child: BibleVerseWidget()), // Reduced flex from 4 to 3
],
),
),
const SizedBox(width: 24),
// Center Column: Photo Slideshow
// Center Column: Todos, Weekly Schedule (Swapped)
Expanded(
flex: 4,
flex: 3, // Reduced from 4 to 3
child: Column(
children: [
const Expanded(
flex: 6, child: TodoListWidget()),
const SizedBox(height: 16),
const Expanded(
flex: 6, child: ScheduleListWidget()),
],
),
),
const SizedBox(width: 24),
// Right Column: Photo Slideshow
Expanded(
flex: 4, // Increased from 3 to 4
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16),
@@ -125,20 +136,6 @@ class _TvDashboardScreenState extends State<TvDashboardScreen> {
child: const PhotoSlideshowWidget(),
),
),
const SizedBox(width: 24),
// Right Column: Todos, Bible Verse
Expanded(
flex: 3,
child: Column(
children: [
const Expanded(
flex: 6, child: TodoListWidget()),
const SizedBox(height: 16),
const Expanded(
flex: 3, child: BibleVerseWidget()),
],
),
),
],
),
),