-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathmain.dart
More file actions
24 lines (22 loc) · 744 Bytes
/
main.dart
File metadata and controls
24 lines (22 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import 'package:flipkart_flutter_ui/src/ui/homePage.dart';
import 'package:flipkart_flutter_ui/src/splash/splash_screens.dart';
import 'package:flipkart_flutter_ui/src/Constant/Constant.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flipkart',
theme: ThemeData(
primaryColor: Color(0xff2874F0),
),
routes: <String,WidgetBuilder>{
splashScreen: (BuildContext context)=> AnimatedSplashScreen(),
homeScreen: (BuildContext context)=> HomePage(),
},
home: AnimatedSplashScreen(),
);
}
}