FontSize class

Constructors

FontSize(double? size, {String units = ""})
const
FontSize.em(double? em)
factory
FontSize.percent(int percent)
A percentage of the parent style's font size.
factory
FontSize.rem(double rem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double?
final
units String
final

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

Constants

large → const FontSize
larger → const FontSize
medium → const FontSize
small → const FontSize
smaller → const FontSize
xLarge → const FontSize
xSmall → const FontSize
xxLarge → const FontSize
xxSmall → const FontSize