ScreenOverlayWidget constructor
ScreenOverlayWidget({
- Key? key,
- bool? show,
- AlignmentGeometry? alignment = AlignmentDirectional.topStart,
- TextDirection? textDirection,
- StackFit? fit = StackFit.loose,
- Clip? clipBehavior = Clip.hardEdge,
All are optional except the child widget.
Implementation
ScreenOverlayWidget({
super.key,
this.show,
this.alignment = AlignmentDirectional.topStart,
this.textDirection,
this.fit = StackFit.loose,
this.clipBehavior = Clip.hardEdge,
}) : state = _ScreenOverlayState() {
state.showOverlay = show ?? true;
}