m3_lightmeter/lib/main.dart

25 lines
477 B
Dart
Raw Normal View History

2022-10-15 16:35:35 +00:00
import 'package:flutter/material.dart';
2022-10-24 20:25:38 +00:00
import 'res/theme.dart';
import 'screens/metering/metering_screen.dart';
2022-10-15 16:35:35 +00:00
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
2022-10-24 20:25:38 +00:00
useMaterial3: true,
colorScheme: lightColorScheme,
2022-10-15 16:38:34 +00:00
),
2022-10-24 20:25:38 +00:00
home: const MeteringScreen(),
2022-10-15 16:35:35 +00:00
);
}
}