GlassFullScreenCover constructor
const
GlassFullScreenCover({
- Key? key,
- required Widget child,
- Widget? topBar,
- Widget? title,
- Widget? leading,
- Widget? trailing,
- bool showCloseButton = true,
- GlassFullScreenCoverClosePosition closeButtonPosition = GlassFullScreenCoverClosePosition.trailing,
- String? closeButtonLabel,
- VoidCallback? onDismiss,
- bool enableSwipeToDismiss = true,
- double dismissThreshold = 140.0,
- double velocityThreshold = 700.0,
- double cornerRadius = 44.0,
- Color? backgroundColor,
- LiquidGlassSettings? settings,
- GlassQuality? quality,
- bool enableHaptics = true,
Creates a GlassFullScreenCover.
Implementation
const GlassFullScreenCover({
super.key,
required this.child,
this.topBar,
this.title,
this.leading,
this.trailing,
this.showCloseButton = true,
this.closeButtonPosition = GlassFullScreenCoverClosePosition.trailing,
this.closeButtonLabel,
this.onDismiss,
this.enableSwipeToDismiss = true,
this.dismissThreshold = 140.0,
this.velocityThreshold = 700.0,
this.cornerRadius = 44.0,
this.backgroundColor,
this.settings,
this.quality,
this.enableHaptics = true,
});