RichTextFormat class

Constructors

RichTextFormat(String font, num size, int color, {int startIndex = 0, int endIndex = -1, num strokeWidth = 0.0, int strokeColor = Color.Black, GraphicsGradient fillGradient, bool bold = false, bool italic = false, bool underline = false, bool strikethrough = false, bool overline = false, String align = 'left', num topMargin = 0.0, num bottomMargin = 0.0, num leftMargin = 0.0, num rightMargin = 0.0, num indent = 0.0, num leading = 0.0})

Properties

align String
read / write
bold bool
read / write
bottomMargin num
read / write
color int
read / write
endIndex int
read / write
fillGradient GraphicsGradient
read / write
font String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
indent num
read / write
italic bool
read / write
leading num
read / write
leftMargin num
read / write
overline bool
read / write
rightMargin num
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size num
read / write
startIndex int
read / write
strikethrough bool
read / write
strokeColor int
read / write
strokeWidth num
read / write
topMargin num
read / write
underline bool
read / write

Methods

clone() RichTextFormat
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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