BlurryContainer.expand constructor

const BlurryContainer.expand({
  1. Key? key,
  2. required Widget child,
  3. double blur = 5,
  4. double elevation = 0,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(8),
  6. Color color = Colors.transparent,
  7. BorderRadius borderRadius = BorderRadius.zero,
})

Creates a blurry container whose width and height are equal.

Implementation

const BlurryContainer.expand({
  Key? key,
  required this.child,
  this.blur = 5,
  this.elevation = 0,
  this.padding = const EdgeInsets.all(8),
  this.color = Colors.transparent,
  this.borderRadius = BorderRadius.zero,
})  : width = double.infinity,
      height = double.infinity,
      super(key: key);