Files
smart-serow/pi/ui/lib/main.dart

33 lines
739 B
Dart
Raw Normal View History

2026-01-24 12:24:26 +09:00
import 'package:flutter/material.dart';
2026-01-25 18:47:35 +09:00
import 'app_root.dart';
import 'theme/app_colors.dart';
import 'theme/app_theme.dart';
2026-01-25 18:47:35 +09:00
2026-01-24 12:24:26 +09:00
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',
2026-01-24 12:24:26 +09:00
),
home: const AppRoot(),
2026-01-24 12:24:26 +09:00
),
);
}
}