feat: splash page done

This commit is contained in:
jahongireshonqulov
2025-10-31 12:29:30 +05:00
parent ab1ac6e6fa
commit 077ea23416
229 changed files with 3187 additions and 13517 deletions

View File

@@ -1,11 +1,10 @@
import 'package:food_delivery_client/feature/common/presentation/blocs/language_bloc/language_bloc.dart';
import 'package:toastification/toastification.dart';
import 'food_delivery_client.dart';
void main() {
runZonedGuarded(
() async{
() async {
WidgetsFlutterBinding.ensureInitialized();
FlutterError.onError = (details) {
FlutterError.presentError(details);
@@ -47,9 +46,11 @@ class _MyAppState extends State<MyApp> {
builder: (context, state) {
return ToastificationWrapper(
child: MaterialApp.router(
title: "Uber Eats",
title: "Felix Eats",
debugShowCheckedModeBanner: false,
theme: AppTheme.lightTheme,
darkTheme: AppTheme.darkTheme,
themeMode: ThemeMode.light,
routerConfig: sl<AppRoutes>().router,
locale: state.currentLocale,
supportedLocales: L10n.locales,