Accessibility class

A class that holds functions to accomodate accessibility settings, such as increased text size, contract, etc.

Constructors

Accessibility()

Properties

accessFeatures AccessibilityFeatures
final
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
responsiveTextSize(double base, Size screenSize) double
Creates a text scale factor to adjust for size differences between mobile, tablet, and web.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

textStringSize({required String textInput, required TextStyle textStyle, required TextDirection textDirection, required MediaQueryData query}) Size
creates variable that contains MediaQuery information to return proper sizing