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

64 lines
1.5 KiB
Dart
Raw Normal View History

2026-01-24 12:24:26 +09:00
import 'package:flutter/material.dart';
void main() {
runApp(const SmartSerowApp());
}
class SmartSerowApp extends StatelessWidget {
const SmartSerowApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Smart Serow',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.teal,
brightness: Brightness.dark,
),
useMaterial3: true,
),
home: const HomePage(),
);
}
}
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.terrain,
size: 120,
color: Theme.of(context).colorScheme.primary,
),
const SizedBox(height: 24),
Text(
'Smart Serow',
style: Theme.of(context).textTheme.headlineLarge?.copyWith(
color: Colors.white,
fontWeight: FontWeight.bold,
),
),
const SizedBox(height: 8),
Text(
'System Ready',
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
color: Colors.grey,
),
),
],
),
),
);
}
}