Adding fancy stuff to events list

This commit is contained in:
rzuasti
2026-02-11 18:31:12 -05:00
parent f927294194
commit 9c5755a2d9
2 changed files with 94 additions and 62 deletions
+6 -4
View File
@@ -14,7 +14,7 @@ final GoRouter router = GoRouter(
GoRoute(
path: '/events',
name: 'events',
builder: (context, state) => const EventsList(),
builder: (context, state) => EventsList(),
),
GoRoute(
path: '/devices',
@@ -49,7 +49,9 @@ class MainShell extends StatelessWidget {
return Scaffold(
appBar: AppBar(
title: const Text('OOTT'),
backgroundColor: Theme.of(context).colorScheme.surfaceBright,
backgroundColor: Theme.of(
context,
).colorScheme.surfaceContainerLowest,
),
body: Row(
children: [
@@ -57,7 +59,7 @@ class MainShell extends StatelessWidget {
child: NavigationRail(
backgroundColor: Theme.of(
context,
).colorScheme.primaryContainer,
).colorScheme.surfaceContainerLow,
extended: constraints.maxWidth >= 600,
destinations: [
NavigationRailDestination(
@@ -89,7 +91,7 @@ class MainShell extends StatelessWidget {
Expanded(
child: Container(
padding: const EdgeInsets.all(20),
color: Theme.of(context).colorScheme.surfaceDim,
color: Theme.of(context).colorScheme.surface,
child: child,
),
),