GlassAccessibilityScope constructor

const GlassAccessibilityScope({
  1. required Widget child,
  2. bool? reduceMotion,
  3. bool? reduceTransparency,
  4. Key? key,
})

Creates a GlassAccessibilityScope.

reduceMotion and reduceTransparency are optional overrides. When null (the default), the scope reads the values from MediaQuery.

Implementation

const GlassAccessibilityScope({
  required this.child,
  this.reduceMotion,
  this.reduceTransparency,
  super.key,
});