BottomSheetBar constructor
const
BottomSheetBar({
- required Widget body,
- required Widget expandedBuilder(),
- Widget? collapsed,
- BottomSheetBarController? controller,
- Color? color,
- Color backdropColor = Colors.transparent,
- BorderRadius? borderRadius,
- BorderRadius? borderRadiusExpanded,
- List<
BoxShadow> ? boxShadows, - double height = kToolbarHeight,
- bool isDismissable = true,
- bool locked = true,
- double velocityMin = 320.0,
- bool backButtonListener = false,
- bool willPopScope = false,
- Key? key,
Implementation
const BottomSheetBar({
required this.body,
required this.expandedBuilder,
this.collapsed,
this.controller,
this.color,
this.backdropColor = Colors.transparent,
this.borderRadius,
this.borderRadiusExpanded,
this.boxShadows,
this.height = kToolbarHeight,
this.isDismissable = true,
this.locked = true,
this.velocityMin = 320.0,
this.backButtonListener = false,
this.willPopScope = false,
Key? key,
}) : assert(!(willPopScope && backButtonListener)),
super(key: key);