SmoothDraggableBottomSheet constructor

const SmoothDraggableBottomSheet({
  1. required WidgetBuilder headerBuilder,
  2. required double headerHeight,
  3. required WidgetBuilder bodyBuilder,
  4. required BorderRadiusGeometry borderRadius,
  5. Key? key,
  6. double initHeightFraction = 0.5,
  7. double? minHeightFraction,
  8. double maxHeightFraction = 1.0,
  9. AnimationController? animationController,
  10. Color? bottomSheetColor,
  11. DraggableScrollableController? draggableScrollableController,
})

Implementation

const SmoothDraggableBottomSheet({
  required this.headerBuilder,
  required this.headerHeight,
  required this.bodyBuilder,
  required this.borderRadius,
  super.key,
  this.initHeightFraction = 0.5,
  this.minHeightFraction,
  this.maxHeightFraction = 1.0,
  this.animationController,
  this.bottomSheetColor,
  this.draggableScrollableController,
}) : assert(maxHeightFraction > 0.0 && maxHeightFraction <= 1.0);