feat : dynamic form navigation
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import 'package:device_preview/device_preview.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_app/domain/service/user/user_service.dart';
|
||||
import 'package:rasadyar_app/presentation/routes/app_pages.dart';
|
||||
@@ -12,11 +11,9 @@ void main() async {
|
||||
await setupAllProvider();
|
||||
|
||||
runApp(MyApp());
|
||||
// runApp(DevicePreview(builder: (context) => ForDevicePreview(),));
|
||||
// runApp(DevicePreview(builder: (context) => ForDevicePreview(),));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*class ForDevicePreview extends StatelessWidget {
|
||||
const ForDevicePreview({super.key});
|
||||
|
||||
@@ -51,6 +48,10 @@ class MyApp extends StatelessWidget {
|
||||
initialBinding: BindingsBuilder.put(() => UserService()),
|
||||
getPages: AppPages.pages,
|
||||
locale: Locale('fa'),
|
||||
localizationsDelegates: [
|
||||
PersianMaterialLocalizations.delegate,
|
||||
PersianCupertinoLocalizations.delegate,
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user