Dialog.fullscreen constructor

const Dialog.fullscreen(
  1. {Key? key,
  2. Color? backgroundColor,
  3. Duration insetAnimationDuration = Duration.zero,
  4. Curve insetAnimationCurve = Curves.decelerate,
  5. Widget? child}
)

Creates a fullscreen dialog.

Typically used in conjunction with showDialog.

Implementation

const Dialog.fullscreen({
  super.key,
  this.backgroundColor,
  this.insetAnimationDuration = Duration.zero,
  this.insetAnimationCurve = Curves.decelerate,
  this.child,
}) : elevation = 0,
     shadowColor = null,
     surfaceTintColor = null,
     insetPadding = EdgeInsets.zero,
     clipBehavior = Clip.none,
     shape = null,
     alignment = null,
     _fullscreen = true;