FallbackGlassSurface constructor

const FallbackGlassSurface({
  1. required Glass glass,
  2. required GlassShape shape,
  3. required Widget child,
  4. double intensity = 1.0,
  5. double blurSigma = 18,
  6. Key? key,
})

Creates a blur-and-tint surface. blurSigma defaults higher than the shader path's: without refraction the edge does no work, so the material has to separate from the backdrop by blur alone.

Implementation

const FallbackGlassSurface({
  required this.glass,
  required this.shape,
  required this.child,
  this.intensity = 1.0,
  this.blurSigma = 18,
  super.key,
});