24 lines
559 B
Dart
24 lines
559 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:food_ui/screens/main_screen.dart';
|
|
import 'package:food_ui/util/const.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: Constants.appName,
|
|
debugShowCheckedModeBanner: false,
|
|
theme: Constants.lightTheme,
|
|
darkTheme: Constants.darkTheme,
|
|
home: const MainScreen(),
|
|
);
|
|
}
|
|
}
|