BookRideLayout constructor

const BookRideLayout({
  1. Key? key,
  2. required bool isDismissible,
  3. Color? backgroundColor,
  4. required Color barrierColor,
  5. required ShapeBorder? shape,
  6. required TabController controller,
  7. required List<Tab> tabs,
  8. List<String>? previousRides,
  9. required ValueChanged<int>? onTabSwitched,
  10. required TabBarIndicatorSize indicatorSize,
  11. Color? labelColor,
  12. VoidCallback? onTopLeftButtonPressed,
  13. VoidCallback? onTopRightButtonPressed,
  14. ValueChanged<String>? onPickupChanged,
  15. ValueChanged<String>? onDestinationChanged,
  16. Color? indicatorColor,
  17. required double indicatorWeight,
  18. ValueChanged<int>? onPreviousRideSelected,
  19. Widget? child,
  20. String? pickupHintText,
  21. String? destinationHintText,
  22. String? previousRidesLabel,
  23. required VoidCallback onShowBottomSheet,
})

Implementation

const BookRideLayout({
  super.key,
  required this.isDismissible,
  this.backgroundColor,
  required this.barrierColor,
  required this.shape,
  required this.controller,
  required this.tabs,
  this.previousRides,
  required this.onTabSwitched,
  required this.indicatorSize,
  this.labelColor,
  this.onTopLeftButtonPressed,
  this.onTopRightButtonPressed,
  this.onPickupChanged,
  this.onDestinationChanged,
  this.indicatorColor,
  required this.indicatorWeight,
  this.onPreviousRideSelected,
  this.child,
  this.pickupHintText,
  this.destinationHintText,
  this.previousRidesLabel,
  required this.onShowBottomSheet,
});