feat : package chicken and added to app
This commit is contained in:
23
packages/chicken/lib/presentation/routes/pages.dart
Normal file
23
packages/chicken/lib/presentation/routes/pages.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
import 'package:chicken/presentation/pages/root/view.dart';
|
||||
import 'package:chicken/presentation/routes/routes.dart';
|
||||
import 'package:rasadyar_auth/auth.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
|
||||
|
||||
sealed class ChickenPages {
|
||||
ChickenPages._();
|
||||
|
||||
static final pages = [
|
||||
GetPage(
|
||||
name: ChickenRoutes.init,
|
||||
page: () => RootPage(),
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
|
||||
}),
|
||||
),
|
||||
|
||||
|
||||
];
|
||||
}
|
||||
6
packages/chicken/lib/presentation/routes/routes.dart
Normal file
6
packages/chicken/lib/presentation/routes/routes.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
sealed class ChickenRoutes {
|
||||
ChickenRoutes._();
|
||||
|
||||
static const init = '/chicken/init';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user