AccessibilityContext extension
Ergonomic accessibility helpers on top of MediaQuery + the kit-wide AccessibilityConfig.
All getters read live from MediaQuery, so any widget that calls
them rebuilds when the user toggles a system accessibility setting.
- on
Properties
- a11yKit → AccessibilityConfig
-
Available on BuildContext, provided by the AccessibilityContext extension
Shortcut to the kit's AccessibilityConfig (action labels, minimum touch target, etc.).no setter - prefersBoldText → bool
-
Available on BuildContext, provided by the AccessibilityContext extension
truewhen the OS has requested bold text. Defaults tofalsewhen there is noMediaQueryancestor.no setter - prefersHighContrast → bool
-
Available on BuildContext, provided by the AccessibilityContext extension
truewhen the OS has requested a high-contrast color palette.no setter - prefersReducedMotion → bool
-
Available on BuildContext, provided by the AccessibilityContext extension
truewhen the OS has requested reduced or no motion, AND the kit is configured to honor it.no setter - textScaler → TextScaler
-
Available on BuildContext, provided by the AccessibilityContext extension
The active text scaler. Reads live fromMediaQueryso widgets rebuild when the user changes their text-size setting.no setter -
Available on BuildContext, provided by the AccessibilityContext extension
truewhen the user is navigating with an assistive device such as a screen reader or switch control.no setter