-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmain.dart
44 lines (41 loc) · 1.3 KB
/
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
42
43
44
import 'package:financial_app/utils/util.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'pages/welcome_page.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
final util = Util();
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Home',
theme: ThemeData(
fontFamily: GoogleFonts.roboto().fontFamily,
scaffoldBackgroundColor: util.mainColor,
textTheme: TextTheme(
bodyText1: TextStyle(
letterSpacing: 2,
fontSize: 20,
fontWeight: FontWeight.w600,
color: Colors.white),
bodyText2: TextStyle(
letterSpacing: 1,
fontSize: 18,
fontWeight: FontWeight.normal,
color: Colors.white),
subtitle1: TextStyle(
letterSpacing: 2,
fontSize: 30,
fontWeight: FontWeight.bold,
color: Colors.white),
subtitle2: TextStyle(
letterSpacing: 2,
fontSize: 20,
fontWeight: FontWeight.w700,
color: Colors.white))),
home: WelcomePage(),
);
}
}