VelocityXTextSpan class

Constructors

VelocityXTextSpan(String _text)

Properties

black VelocityXTextSpan
read-only, inherited
blue100 VelocityXTextSpan
read-only, inherited
blue200 VelocityXTextSpan
read-only, inherited
blue300 VelocityXTextSpan
read-only, inherited
blue400 VelocityXTextSpan
read-only, inherited
blue500 VelocityXTextSpan
read-only, inherited
blue600 VelocityXTextSpan
read-only, inherited
blue700 VelocityXTextSpan
read-only, inherited
blue800 VelocityXTextSpan
read-only, inherited
blue900 VelocityXTextSpan
read-only, inherited
bold VelocityXTextSpan
Sets FontWeight to FontWeight.w700
read-only
capitalize VelocityXTextSpan
Converts the text to first letter of very word as uppercase.
read-only
extraBlack VelocityXTextSpan
Sets FontWeight to FontWeight.w900
read-only
extraBold VelocityXTextSpan
Sets FontWeight to FontWeight.w800
read-only
gray100 VelocityXTextSpan
read-only, inherited
gray200 VelocityXTextSpan
read-only, inherited
gray300 VelocityXTextSpan
read-only, inherited
gray400 VelocityXTextSpan
read-only, inherited
gray500 VelocityXTextSpan
read-only, inherited
gray600 VelocityXTextSpan
read-only, inherited
gray700 VelocityXTextSpan
read-only, inherited
gray800 VelocityXTextSpan
read-only, inherited
gray900 VelocityXTextSpan
read-only, inherited
green100 VelocityXTextSpan
read-only, inherited
green200 VelocityXTextSpan
read-only, inherited
green300 VelocityXTextSpan
read-only, inherited
green400 VelocityXTextSpan
read-only, inherited
green500 VelocityXTextSpan
read-only, inherited
green600 VelocityXTextSpan
read-only, inherited
green700 VelocityXTextSpan
read-only, inherited
green800 VelocityXTextSpan
read-only, inherited
green900 VelocityXTextSpan
read-only, inherited
hairLine VelocityXTextSpan
Sets FontWeight to FontWeight.w100
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
heightLoose VelocityXTextSpan
Sets lineHeight to 1.5
read-only
heightRelaxed VelocityXTextSpan
Sets lineHeight to 1.25
read-only
heightSnug VelocityXTextSpan
Sets lineHeight to 0.875
read-only
heightTight VelocityXTextSpan
Sets lineHeight to 0.75
read-only
hidePartial VelocityXTextSpan
Converts the text to partially hideen text. Best for sensitive data.
read-only
indigo100 VelocityXTextSpan
read-only, inherited
indigo200 VelocityXTextSpan
read-only, inherited
indigo300 VelocityXTextSpan
read-only, inherited
indigo400 VelocityXTextSpan
read-only, inherited
indigo500 VelocityXTextSpan
read-only, inherited
indigo600 VelocityXTextSpan
read-only, inherited
indigo700 VelocityXTextSpan
read-only, inherited
indigo800 VelocityXTextSpan
read-only, inherited
indigo900 VelocityXTextSpan
read-only, inherited
italic VelocityXTextSpan
Sets FontStyle to FontStyle.italic
read-only
light VelocityXTextSpan
Sets FontWeight to FontWeight.w300
read-only
lineThrough VelocityXTextSpan
Sets TextDecoration as TextDecoration.lineThrough
read-only
lowercase VelocityXTextSpan
Converts the text to fully lowercase.
read-only
medium VelocityXTextSpan
Sets FontWeight to FontWeight.w500
read-only
normal VelocityXTextSpan
Sets FontWeight to FontWeight.w400
read-only
orange100 VelocityXTextSpan
read-only, inherited
orange200 VelocityXTextSpan
read-only, inherited
orange300 VelocityXTextSpan
read-only, inherited
orange400 VelocityXTextSpan
read-only, inherited
orange500 VelocityXTextSpan
read-only, inherited
orange600 VelocityXTextSpan
read-only, inherited
orange700 VelocityXTextSpan
read-only, inherited
orange800 VelocityXTextSpan
read-only, inherited
orange900 VelocityXTextSpan
read-only, inherited
overline VelocityXTextSpan
Sets TextDecoration as TextDecoration.overline
read-only
pink100 VelocityXTextSpan
read-only, inherited
pink200 VelocityXTextSpan
read-only, inherited
pink300 VelocityXTextSpan
read-only, inherited
pink400 VelocityXTextSpan
read-only, inherited
pink500 VelocityXTextSpan
read-only, inherited
pink600 VelocityXTextSpan
read-only, inherited
pink700 VelocityXTextSpan
read-only, inherited
pink800 VelocityXTextSpan
read-only, inherited
pink900 VelocityXTextSpan
read-only, inherited
purple100 VelocityXTextSpan
read-only, inherited
purple200 VelocityXTextSpan
read-only, inherited
purple300 VelocityXTextSpan
read-only, inherited
purple400 VelocityXTextSpan
read-only, inherited
purple500 VelocityXTextSpan
read-only, inherited
purple600 VelocityXTextSpan
read-only, inherited
purple700 VelocityXTextSpan
read-only, inherited
purple800 VelocityXTextSpan
read-only, inherited
purple900 VelocityXTextSpan
read-only, inherited
red100 VelocityXTextSpan
read-only, inherited
red200 VelocityXTextSpan
read-only, inherited
red300 VelocityXTextSpan
read-only, inherited
red400 VelocityXTextSpan
read-only, inherited
red500 VelocityXTextSpan
read-only, inherited
red600 VelocityXTextSpan
read-only, inherited
red700 VelocityXTextSpan
read-only, inherited
red800 VelocityXTextSpan
read-only, inherited
red900 VelocityXTextSpan
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
semiBold VelocityXTextSpan
Sets FontWeight to FontWeight.w600
read-only
teal100 VelocityXTextSpan
read-only, inherited
teal200 VelocityXTextSpan
read-only, inherited
teal300 VelocityXTextSpan
read-only, inherited
teal400 VelocityXTextSpan
read-only, inherited
teal500 VelocityXTextSpan
read-only, inherited
teal600 VelocityXTextSpan
read-only, inherited
teal700 VelocityXTextSpan
read-only, inherited
teal800 VelocityXTextSpan
read-only, inherited
teal900 VelocityXTextSpan
read-only, inherited
thin VelocityXTextSpan
Sets FontWeight to FontWeight.w200
read-only
tight VelocityXTextSpan
Sets letterSpacing to -1.0
read-only
tighter VelocityXTextSpan
Sets letterSpacing to -2.0
read-only
tightest VelocityXTextSpan
Sets letterSpacing to -3.0
read-only
transparent VelocityXTextSpan
read-only, inherited
underline VelocityXTextSpan
Sets TextDecoration as TextDecoration.underline
read-only
uppercase VelocityXTextSpan
Converts the text to fully uppercase.
read-only
velocityColor Color
@protected, read / write, inherited
white VelocityXTextSpan
read-only, inherited
wide VelocityXTextSpan
Sets letterSpacing to 1.0
read-only
wider VelocityXTextSpan
Sets letterSpacing to 2.0
read-only
widest VelocityXTextSpan
Sets letterSpacing to 3.0
read-only
yellow100 VelocityXTextSpan
read-only, inherited
yellow200 VelocityXTextSpan
read-only, inherited
yellow300 VelocityXTextSpan
read-only, inherited
yellow400 VelocityXTextSpan
read-only, inherited
yellow500 VelocityXTextSpan
read-only, inherited
yellow600 VelocityXTextSpan
read-only, inherited
yellow700 VelocityXTextSpan
read-only, inherited
yellow800 VelocityXTextSpan
read-only, inherited
yellow900 VelocityXTextSpan
read-only, inherited

Methods

color(Color color) VelocityXTextSpan
Set color of the text
doubleTap(Function function) VelocityXTextSpan
Set doubleTap func
fontFamily(String family) VelocityXTextSpan
Set fontFamily for the text
hexColor(String colorHex) VelocityXTextSpan
Set color of the text using hexvalue
letterSpacing(double val) VelocityXTextSpan
Sets custom letterSpacing with val
lineHeight(double val) VelocityXTextSpan
Sets custom lineHeight with val
make({Key key}) TextSpan
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setChildToColor(VelocityXTextSpan child) → void
@protected, inherited
size(double size) VelocityXTextSpan
Sets fontsize of the text
tap(Function function) VelocityXTextSpan
Set tap func
textBaseLine(TextBaseline baseline) VelocityXTextSpan
The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
textStyle(TextStyle _style) VelocityXTextSpan
Use textStyle to provide custom or any theme style. [...]
toString() String
A string representation of this object. [...]
inherited
withChildren(List<TextSpan> children) VelocityXTextSpan
Set children with list of text spans
wordSpacing(double spacing) VelocityXTextSpan
The amount of space (in logical pixels) to add at each sequence of white-space (i.e. between each word). A negative value can be used to bring the words closer.

Operators

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