Files
smart-serow/pi/ui/lib/main.dart
Mikkeli Matlock c7edc30b79 multiple updates
- colour theme implemented. ThemeService based global switching for future light detection triggers
- test flipflop service for various fun
- navigator widget class with state switching
2026-01-26 00:20:52 +09:00

33 lines
739 B
Dart

import 'package:flutter/material.dart';
import 'app_root.dart';
import 'theme/app_colors.dart';
import 'theme/app_theme.dart';
void main() {
runApp(const SmartSerowApp());
}
class SmartSerowApp extends StatelessWidget {
const SmartSerowApp({super.key});
@override
Widget build(BuildContext context) {
return AppThemeProvider(
child: MaterialApp(
title: 'Smart Serow',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: AppColors.darkSubdued,
brightness: Brightness.dark,
),
useMaterial3: true,
fontFamily: 'DIN1451',
),
home: const AppRoot(),
),
);
}
}