Backdrop constructor

const Backdrop({
  1. double? width,
  2. bool? fading = false,
  3. bool? moving = true,
  4. bool? overlay = false,
  5. double? overlayOpacity = 0.5,
  6. Color? color,
  7. Gradient? backgroundGradient,
  8. BackdropAppBar? appBar,
  9. Widget? body,
})

Implementation

const Backdrop({
  this.width,
  this.fading = false,
  this.moving = true,
  this.overlay = false,
  this.overlayOpacity = 0.5,
  this.color,
  this.backgroundGradient,
  this.appBar,
  this.body,
}) : assert(
        overlayOpacity != null &&
            0.0 <= overlayOpacity &&
            overlayOpacity <= 1.0,
        "overlayOpacity double value must between 0.0 and 1.0",
      );