AdaptiveBottomSheet<T> constructor

AdaptiveBottomSheet<T>({
  1. required BuildContext context,
  2. Widget? child,
  3. String? title,
  4. String? supTitle,
  5. TextStyle? titleTxtStyle,
  6. double borderRadius = 30,
  7. double? titleBottomPadding,
  8. EdgeInsetsGeometry? contentPadding,
  9. double? sheetHeightFraction,
  10. Color? bgColor,
  11. bool hasPillGesture = true,
  12. bool? isScrollControlled,
  13. bool? isReverseScrolling,
  14. VoidCallback? onWillPop,
  15. VoidCallback? onOpened,
  16. void onClosed(
    1. T? result
    )?,
})

Implementation

AdaptiveBottomSheet({
  required this.context,
  this.child,
  this.title,
  this.supTitle,
  this.titleTxtStyle,
  this.borderRadius = 30,
  this.titleBottomPadding,
  this.contentPadding,
  this.sheetHeightFraction,
  this.bgColor,
  this.hasPillGesture = true,
  this.isScrollControlled,
  this.isReverseScrolling,
  this.onWillPop,
  this.onOpened,
  this.onClosed,
});