add pdf print from all stops in actual year
This commit is contained in:
@@ -5,20 +5,17 @@ import '../../pages/graph/graph_controller.dart';
|
||||
import '../../pages/login/login_controller.dart';
|
||||
import '../../pages/tank/tank_controller.dart';
|
||||
import '../../pages/tanklist/tanklist_controller.dart';
|
||||
|
||||
|
||||
import '../../pages/print/print_controller.dart';
|
||||
|
||||
class SampleBindings extends Bindings {
|
||||
@override
|
||||
void dependencies() {
|
||||
// Define your dependencies here
|
||||
Get.lazyPut<LoginController>(() => LoginController());
|
||||
Get.lazyPut<TankController>(() => TankController());
|
||||
Get.lazyPut<TanklistController>(() => TanklistController());
|
||||
Get.lazyPut<GraphController>(() => GraphController());
|
||||
Get.lazyPut<GaslistController>(() => GaslistController());
|
||||
// Get.lazyPut<TrackingController>(() => TrackingController(AuthRepository(AppWriteProvider())));
|
||||
// Get.lazyPut<MapController>(() => MapController(AuthRepository(AppWriteProvider()), LocationRepository(LocationProvider())));
|
||||
Get.lazyPut<LoginController>(() => LoginController());
|
||||
Get.lazyPut<TankController>(() => TankController());
|
||||
Get.lazyPut<TanklistController>(() => TanklistController());
|
||||
Get.lazyPut<GraphController>(() => GraphController());
|
||||
Get.lazyPut<GaslistController>(() => GaslistController());
|
||||
Get.lazyPut<PrintController>(() => PrintController());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'package:get/get.dart';
|
||||
|
||||
import '../../pages/graph/graph_view.dart';
|
||||
import '../../pages/login/login_view.dart';
|
||||
import '../../pages/print/print_view.dart';
|
||||
import '../../pages/tank/tank_view.dart';
|
||||
import '../../pages/tanklist/tanklist_view.dart';
|
||||
import '../../pages/gaslist/gaslist_view.dart';
|
||||
@@ -37,6 +38,11 @@ class SampleRouts {
|
||||
page: () => const GaslistPage(),
|
||||
binding: sampleBindings,
|
||||
),
|
||||
GetPage(
|
||||
name: PrintPage.namedRoute,
|
||||
page: () => const PrintPage(),
|
||||
binding: sampleBindings,
|
||||
),
|
||||
// GetPage(
|
||||
// name: MapPage.namedRoute,
|
||||
// page: () => const MapPage(),
|
||||
|
||||
Reference in New Issue
Block a user