AdaptiveBottomSheet<T> constructor
AdaptiveBottomSheet<T> ({
- required BuildContext context,
- Widget? child,
- String? title,
- String? supTitle,
- TextStyle? titleTxtStyle,
- double borderRadius = 30,
- double? titleBottomPadding,
- EdgeInsetsGeometry? contentPadding,
- double? sheetHeightFraction,
- Color? bgColor,
- bool hasPillGesture = true,
- bool? isScrollControlled,
- bool? isReverseScrolling,
- VoidCallback? onWillPop,
- VoidCallback? onOpened,
- void onClosed(
- 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,
});