GlassmorphicContainer constructor

const GlassmorphicContainer({
  1. Key? key,
  2. required Widget child,
  3. double? width,
  4. double? height,
  5. double borderRadius = 20,
  6. double blur = 16,
  7. double borderWidth = 1.5,
  8. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  9. EdgeInsetsGeometry? margin,
  10. Color? glassColor,
  11. Color? borderColor,
})

Implementation

const GlassmorphicContainer({
  super.key,
  required this.child,
  this.width,
  this.height,
  this.borderRadius = 20,
  this.blur = 16,
  this.borderWidth = 1.5,
  this.padding = const EdgeInsets.all(16),
  this.margin,
  this.glassColor,
  this.borderColor,
});