2025-04-09 17:05:38 +03:30
|
|
|
import 'package:rasadyar_core/core.dart';
|
|
|
|
|
import 'package:supervision/presentation/filter/logic.dart';
|
2025-04-15 13:33:26 +03:30
|
|
|
import 'package:supervision/presentation/location_details/logic.dart';
|
|
|
|
|
import 'package:supervision/presentation/location_details/view.dart';
|
2025-04-12 18:07:36 +03:30
|
|
|
import 'package:supervision/presentation/root/logic.dart';
|
|
|
|
|
import 'package:supervision/presentation/root/view.dart';
|
2025-04-09 17:05:38 +03:30
|
|
|
import 'package:supervision/presentation/routes/app_routes.dart';
|
|
|
|
|
|
|
|
|
|
sealed class SupervisionPages {
|
|
|
|
|
SupervisionPages._();
|
|
|
|
|
|
|
|
|
|
static final pages = [
|
|
|
|
|
GetPage(
|
|
|
|
|
name: SupervisionRoutes.supervision,
|
2025-04-12 18:07:36 +03:30
|
|
|
page: () => RootPage(),
|
|
|
|
|
bindings: [
|
|
|
|
|
BindingsBuilder.put(() => RootLogic()),
|
|
|
|
|
BindingsBuilder.put(() => SupervisionFilterLogic()),
|
|
|
|
|
],
|
2025-04-09 17:05:38 +03:30
|
|
|
),
|
2025-04-15 13:33:26 +03:30
|
|
|
GetPage(
|
|
|
|
|
name: SupervisionRoutes.supervision,
|
|
|
|
|
page: () => RootPage(),
|
|
|
|
|
bindings: [
|
|
|
|
|
BindingsBuilder.put(() => RootLogic()),
|
|
|
|
|
BindingsBuilder.put(() => SupervisionFilterLogic()),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
GetPage(
|
|
|
|
|
name: SupervisionRoutes.supervisionLocationDetails,
|
|
|
|
|
page: () => LocationDetailsPage(),
|
|
|
|
|
bindings: [BindingsBuilder.put(() => LocationDetailsLogic())],
|
|
|
|
|
),
|
2025-04-09 17:05:38 +03:30
|
|
|
];
|
|
|
|
|
}
|