-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.dart
41 lines (35 loc) · 984 Bytes
/
main.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:istart/splash.dart';
import 'authpage.dart';
import 'util.dart';
void main() => runApp(App());
class App extends StatefulWidget {
App({Key key}) : super(key: key);
_AppState createState() => _AppState();
}
class _AppState extends State<App> {
@override
void initState() {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(
statusBarColor: CustomColors.StatusBarColor,
statusBarIconBrightness: Brightness.dark,
statusBarBrightness: Brightness.dark,
),
);
// SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
canvasColor: CustomColors.GreyBackground,
fontFamily: 'rubik',
),
home: splashscreen(),
);
}
}