BottomSheetBar constructor

const BottomSheetBar({
  1. required Widget body,
  2. required Widget expandedBuilder(
    1. ScrollController
    ),
  3. Widget? collapsed,
  4. BottomSheetBarController? controller,
  5. Color? color,
  6. Color backdropColor = Colors.transparent,
  7. BorderRadius? borderRadius,
  8. BorderRadius? borderRadiusExpanded,
  9. List<BoxShadow>? boxShadows,
  10. double height = kToolbarHeight,
  11. bool isDismissable = true,
  12. bool locked = true,
  13. double velocityMin = 320.0,
  14. bool backButtonListener = false,
  15. bool willPopScope = false,
  16. 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);