mirror of
https://github.com/JideGuru/FlutterTravel.git
synced 2025-05-17 06:05:56 +08:00
26 lines
605 B
Dart
26 lines
605 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_travel_concept/screens/main_screen.dart';
|
|
import 'package:flutter_travel_concept/util/const.dart';
|
|
|
|
void main() async {
|
|
runApp(MyApp());
|
|
}
|
|
|
|
class MyApp extends StatefulWidget {
|
|
@override
|
|
_MyAppState createState() => _MyAppState();
|
|
}
|
|
|
|
class _MyAppState extends State<MyApp> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
debugShowCheckedModeBanner: false,
|
|
title: Constants.appName,
|
|
theme: Constants.lightTheme,
|
|
darkTheme: Constants.darkTheme,
|
|
home: MainScreen(),
|
|
);
|
|
}
|
|
}
|