NyxTextFormat class

Constructors

NyxTextFormat({int textSize = 24, bool underline = false, double textScaleX = 1.0, double textScaleY = 1.0, double letterSpacing = 0, double lineSpacing = 0, int topPadding = 0, int leftPadding = 0, NyxAlign align = NyxAlign.left, NyxFontStyle style = NyxFontStyle.normal, NyxFont font = NyxFont.defaultFont})

Properties

align NyxAlign
getter/setter pair
font NyxFont
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
leftPadding int
getter/setter pair
letterSpacing double
getter/setter pair
lineSpacing double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style NyxFontStyle
getter/setter pair
textScaleX double
getter/setter pair
textScaleY double
getter/setter pair
textSize int
getter/setter pair
topPadding int
getter/setter pair
underline bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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