FontResponsiveness class

Constructors

FontResponsiveness()
factory

Properties

allowFontScaling bool
allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is false.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiSize Size
Size of the phone in UI Design , px
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSp(num fontSize) double
Font size adaptation method in px
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

init(BuildContext context, {Size designSize = defaultSize}) → void

Constants

defaultSize → const Size