/
main.dart
53 lines (50 loc) · 1.33 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
45
46
47
48
49
50
51
52
53
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'menu_page.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primaryColor: Colors.white,
scaffoldBackgroundColor: Colors.white,
//-------------------
// App Bar Theme
//-------------------
appBarTheme: AppBarTheme(
textTheme: TextTheme(
headline6: GoogleFonts.spartan(
fontSize: 22,
fontWeight: FontWeight.w600,
color: Colors.black,
),
),
),
//-------------------
// Text Theme
//-------------------
textTheme: TextTheme(
headline2: GoogleFonts.spartan(
fontWeight: FontWeight.w600,
letterSpacing: -3.0,
height: 0.9,
fontSize: 64,
),
headline5: GoogleFonts.spartan(
letterSpacing: -1.0,
fontWeight: FontWeight.w500,
),
).apply(
displayColor: Colors.white,
bodyColor: Colors.white,
),
),
home: MenuPage(),
);
}
}