ModernBottomsheet constructor

const ModernBottomsheet({
  1. Key? key,
  2. String? title,
  3. Widget? child,
  4. IconData? icon,
  5. Color? iconColor,
  6. Color? backgroundColor,
  7. required bool isDark,
  8. bool isLoading = false,
  9. ValueNotifier<bool>? loadingNotifier,
  10. bool showHandle = true,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. double? maxHeight,
  14. bool isScrollControlled = false,
  15. double? blur = 20.0,
  16. ImageFilter? backdropFilter,
  17. 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,
});