forked from DevAngiras/bloc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.dart
36 lines (31 loc) · 1.12 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
import 'package:flutter/material.dart';
import 'package:test_app/screens/HomePage.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'whatsApp',
theme: ThemeData(
popupMenuTheme:PopupMenuThemeData(color:Color(0xFFE1F2E6)),
primaryColor: Color(0xFF1b9478),
textTheme: TextTheme(
headline1: TextStyle(
fontWeight: FontWeight.w500, fontSize: 24, color: Colors.white),
headline2: TextStyle(
fontWeight: FontWeight.w600, fontSize: 16, color: Colors.black),
subtitle1: TextStyle(fontSize: 16),
subtitle2: TextStyle(fontSize: 12, color: Colors.black26)),
iconTheme: IconThemeData(color: Colors.white, size: 20, opacity: 8.0),
backgroundColor: Color(0xFFE1F2E6),
useMaterial3: true,
),
debugShowCheckedModeBanner: false,
home: const HomePage(),
);
}
}