CyberContentView constructor
const
CyberContentView({
- Key? key,
- required Widget child,
- PopupPosition position = PopupPosition.center,
- PopupAnimation animation = PopupAnimation.slideAndFade,
- bool barrierDismissible = true,
- Color? barrierColor,
- EdgeInsets? margin,
- EdgeInsets? padding,
- double? width,
- double? height,
- BorderRadius? borderRadius,
- Color? backgroundColor,
- BoxShadow? boxShadow,
- Duration transitionDuration = const Duration(milliseconds: 300),
- bool isScrollControlled = true,
- dynamic onClose(
- dynamic
- dynamic onShow()?,
- dynamic onBeforeShow()?,
- dynamic onAfterClose(
- dynamic
Implementation
const CyberContentView({
super.key,
required this.child,
this.position = PopupPosition.center,
this.animation = PopupAnimation.slideAndFade,
this.barrierDismissible = true,
this.barrierColor,
this.margin,
this.padding,
this.width,
this.height,
this.borderRadius,
this.backgroundColor,
this.boxShadow,
this.transitionDuration = const Duration(milliseconds: 300),
this.isScrollControlled = true,
this.onClose,
this.onShow,
this.onBeforeShow,
this.onAfterClose,
});