ModalContainer constructor
const
ModalContainer({
- Key? key,
- bool modal = true,
- bool surfaceClip = true,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- Color barrierColor = const Color.fromRGBO(0, 0, 0, 0.8),
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- Animation<
double> ? fadeAnimation, - required Widget child,
Implementation
const ModalContainer({
super.key,
this.modal = true,
this.surfaceClip = true,
this.borderRadius = BorderRadius.zero,
this.barrierColor = const Color.fromRGBO(0, 0, 0, 0.8),
this.padding = EdgeInsets.zero,
this.fadeAnimation,
required this.child,
});