GlassyContainer constructor

const GlassyContainer({
  1. Key? key,
  2. required double height,
  3. required double width,
  4. required Color color,
  5. Gradient? gradient,
  6. required Widget child,
  7. double? radius = 0,
  8. double blur = 20,
  9. double? opacity = 0.2,
  10. EdgeInsetsGeometry? padding,
})

Implementation

const GlassyContainer(
    {Key? key,
    required this.height,
    required this.width,
    required this.color,
    this.gradient,
    required this.child,
    this.radius = 0,
    this.blur = 20,
    this.opacity = 0.2,
    this.padding,})
    : super(key: key);