CupertinoPopupSurface constructor

const CupertinoPopupSurface({
  1. Key? key,
  2. double blurSigma = defaultBlurSigma,
  3. bool isSurfacePainted = true,
  4. required Widget child,
})

Creates an iOS-style rounded rectangle popup surface.

Implementation

const CupertinoPopupSurface({
  super.key,
  this.blurSigma = defaultBlurSigma,
  this.isSurfacePainted = true,
  required this.child,
}) : assert(blurSigma >= 0, 'CupertinoPopupSurface requires a non-negative blur sigma.');