ELEC60013-ES-CW1/lib/main.dart

22 lines
490 B
Dart
Raw Normal View History

2022-02-09 15:09:03 +00:00
import 'package:flutter/material.dart';
2022-02-09 15:50:52 +00:00
import 'package:leg_barkr_app/home.dart';
2022-02-09 18:29:27 +00:00
import 'package:flutter/services.dart';
2022-02-09 15:09:03 +00:00
void main() {
2022-02-09 18:29:27 +00:00
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(statusBarColor: Colors.black12));
2022-02-09 15:50:52 +00:00
runApp(const Main());
2022-02-09 15:09:03 +00:00
}
2022-02-09 15:50:52 +00:00
class Main extends StatelessWidget {
const Main({Key? key}) : super(key: key);
2022-02-09 15:09:03 +00:00
@override
Widget build(BuildContext context) {
return MaterialApp(
2022-02-09 15:50:52 +00:00
theme: ThemeData.light(),
home: HomeScreen()
2022-02-09 15:09:03 +00:00
);
}
}