BookRideLayout constructor
const
BookRideLayout({
- Key? key,
- required bool isDismissible,
- Color? backgroundColor,
- required Color barrierColor,
- required ShapeBorder? shape,
- required TabController controller,
- required List<
Tab> tabs, - List<
String> ? previousRides, - required ValueChanged<
int> ? onTabSwitched, - required TabBarIndicatorSize indicatorSize,
- Color? labelColor,
- VoidCallback? onTopLeftButtonPressed,
- VoidCallback? onTopRightButtonPressed,
- ValueChanged<
String> ? onPickupChanged, - ValueChanged<
String> ? onDestinationChanged, - Color? indicatorColor,
- required double indicatorWeight,
- ValueChanged<
int> ? onPreviousRideSelected, - Widget? child,
- String? pickupHintText,
- String? destinationHintText,
- String? previousRidesLabel,
- 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,
});