NiceAccessibilitySettings class
Detects accessibility settings from the platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getTextScaleFactor(
BuildContext context) → double - Get the current text scale factor.
-
isBoldTextEnabled(
BuildContext context) → bool - Check if bold text is enabled.
-
isHighContrastEnabled(
BuildContext context) → bool - Check if high contrast mode is enabled.
-
isInvertedColorsEnabled(
BuildContext context) → bool - Check if inverted colors are enabled.
-
isReducedMotionEnabled(
BuildContext context) → bool - Check if reduced motion is preferred.
-
isScreenReaderActive(
BuildContext context) → bool - Check if a screen reader is active.