SmoothDraggableBottomSheet constructor
- required WidgetBuilder headerBuilder,
- required double headerHeight,
- required WidgetBuilder bodyBuilder,
- required BorderRadiusGeometry borderRadius,
- Key? key,
- double initHeightFraction = 0.5,
- double? minHeightFraction,
- double maxHeightFraction = 1.0,
- AnimationController? animationController,
- Color? bottomSheetColor,
- 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);