feat : map
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import 'package:get/get.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/auth/auth_with_otp/logic.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/auth/auth_with_otp/view.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/auth/auth_with_use_and_pass/logic.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/auth/auth_with_use_and_pass/view.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/splash/logic.dart';
|
||||
import 'package:rasadyar_app/presentation/pages/splash/view.dart';
|
||||
import 'package:supervision/supervision.dart';
|
||||
|
||||
part 'app_paths.dart';
|
||||
|
||||
@@ -19,15 +18,12 @@ sealed class AppPages {
|
||||
page: () => SplashPage(),
|
||||
binding: BindingsBuilder.put(() => SplashLogic()),
|
||||
),
|
||||
GetPage(
|
||||
name: AppPaths.authWithOtp,
|
||||
page: () => AuthWithOtpPage(),
|
||||
binding: BindingsBuilder.put(() => AuthWithOtpLogic()),
|
||||
),
|
||||
GetPage(
|
||||
name: AppPaths.authWithUserAndPass,
|
||||
page: () => AuthWithUseAndPassPage(),
|
||||
binding: BindingsBuilder.put(() => AuthWithUseAndPassLogic()),
|
||||
),
|
||||
|
||||
...SupervisionPages.pages,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user