Dialog.fullscreen constructor
const
Dialog.fullscreen({})
Creates a fullscreen dialog.
Typically used in conjunction with showDialog.
The dialog's Material covers the whole screen, including the area
behind the software keyboard, while child is kept above the keyboard,
so that a translucent keyboard shows the dialog's backgroundColor
rather than what is behind the dialog.
Implementation
const Dialog.fullscreen({
super.key,
this.backgroundColor,
this.insetAnimationDuration = Duration.zero,
this.insetAnimationCurve = Curves.decelerate,
this.child,
this.semanticsRole = SemanticsRole.dialog,
}) : elevation = 0,
shadowColor = null,
surfaceTintColor = null,
insetPadding = EdgeInsets.zero,
clipBehavior = Clip.none,
shape = null,
alignment = null,
constraints = null,
_fullscreen = true;