MorphGlassSurface constructor
- required MorphGlassKind kind,
- required RRect shape,
- required Color color,
- required Brightness brightness,
- double lift = 0,
- double scaleX = 1,
- double scaleY = 1,
- MorphGlassOptics? optics,
- double? blurRadius,
- Color? tint,
- double transmissionGamma = 1,
- bool enabled = true,
- bool glass = true,
- double opacity = 1,
- MorphGlassGlow? glow,
- List<
BoxShadow> ? shadows, - MorphGlassStyle? style,
Creates a surface description.
Implementation
const MorphGlassSurface({
required this.kind,
required this.shape,
required this.color,
required this.brightness,
this.lift = 0,
this.scaleX = 1,
this.scaleY = 1,
this.optics,
this.blurRadius,
this.tint,
this.transmissionGamma = 1,
this.enabled = true,
this.glass = true,
this.opacity = 1,
this.glow,
this.shadows,
this.style,
});