InheritedGlassSurfaceStyle constructor

const InheritedGlassSurfaceStyle({
  1. required GlassSurfaceStyle surfaceStyle,
  2. required Widget child,
  3. Key? key,
})

Creates an inherited widget providing surfaceStyle to descendants.

Implementation

const InheritedGlassSurfaceStyle({
  required this.surfaceStyle,
  required super.child,
  super.key,
});