Glass constructor

const Glass({
  1. Key? key,
  2. Widget? child,
  3. double borderRadius = 24,
  4. EdgeInsetsGeometry? padding,
  5. double? width,
  6. double? height,
  7. Color? tint,
  8. double? blur,
  9. double? saturation,
  10. double? bend,
  11. double? dispersion,
  12. double? rimShine,
  13. bool shadow = true,
  14. GlassMode mode = GlassMode.auto,
})

Creates a glass pane.

Implementation

const Glass({
  super.key,
  this.child,
  this.borderRadius = 24,
  this.padding,
  this.width,
  this.height,
  this.tint,
  this.blur,
  this.saturation,
  this.bend,
  this.dispersion,
  this.rimShine,
  this.shadow = true,
  this.mode = GlassMode.auto,
});