ModernBottomsheet constructor
const
ModernBottomsheet({
- Key? key,
- String? title,
- Widget? child,
- IconData? icon,
- Color? iconColor,
- Color? backgroundColor,
- required bool isDark,
- bool isLoading = false,
- ValueNotifier<
bool> ? loadingNotifier, - bool showHandle = true,
- bool isDismissible = true,
- bool enableDrag = true,
- double? maxHeight,
- bool isScrollControlled = false,
- double? blur = 20.0,
- ImageFilter? backdropFilter,
- ContentDesignStyle? designStyle,
Implementation
const ModernBottomsheet({
super.key,
this.title,
this.child,
this.icon,
this.iconColor,
this.backgroundColor,
required this.isDark,
this.isLoading = false,
this.loadingNotifier,
this.showHandle = true,
this.isDismissible = true,
this.enableDrag = true,
this.maxHeight,
this.isScrollControlled = false,
this.blur = 20.0,
this.backdropFilter,
this.designStyle,
});