VxRichText class

Creates a AutoSizeText widget with a TextSpan.

Available Extensions
Annotations

Constructors

VxRichText(String _text)
VxRichText.existing(String _text, TextStyle _textStyle)

Properties

base VxRichText
Sets textScaleFactor to base i.e. 1 or default
read-only
black VxRichText
read-only, inherited
blue100 VxRichText
read-only, inherited
blue200 VxRichText
read-only, inherited
blue300 VxRichText
read-only, inherited
blue400 VxRichText
read-only, inherited
blue500 VxRichText
read-only, inherited
blue600 VxRichText
read-only, inherited
blue700 VxRichText
read-only, inherited
blue800 VxRichText
read-only, inherited
blue900 VxRichText
read-only, inherited
bold VxRichText
read-only
capitalize VxRichText
Converts the text to first letter of very word as uppercase.
read-only
center VxRichText
How the text should be aligned horizontally. [...]
read-only
ellipsis VxRichText
To overlow text as ellipsis
read-only
end VxRichText
To align text in end
read-only
extraBlack VxRichText
read-only
extraBold VxRichText
read-only
fade VxRichText
To overlow text as fade
read-only
gray100 VxRichText
read-only, inherited
gray200 VxRichText
read-only, inherited
gray300 VxRichText
read-only, inherited
gray400 VxRichText
read-only, inherited
gray500 VxRichText
read-only, inherited
gray600 VxRichText
read-only, inherited
gray700 VxRichText
read-only, inherited
gray800 VxRichText
read-only, inherited
gray900 VxRichText
read-only, inherited
green100 VxRichText
read-only, inherited
green200 VxRichText
read-only, inherited
green300 VxRichText
read-only, inherited
green400 VxRichText
read-only, inherited
green500 VxRichText
read-only, inherited
green600 VxRichText
read-only, inherited
green700 VxRichText
read-only, inherited
green800 VxRichText
read-only, inherited
green900 VxRichText
read-only, inherited
hairLine VxRichText
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
heightLoose VxRichText
Sets lineHeight to 1.5
read-only
heightRelaxed VxRichText
Sets lineHeight to 1.25
read-only
heightSnug VxRichText
Sets lineHeight to 0.875
read-only
heightTight VxRichText
Sets lineHeight to 0.75
read-only
hidePartial VxRichText
Converts the text to partially hideen text. Best for sensitive data.
read-only
indigo100 VxRichText
read-only, inherited
indigo200 VxRichText
read-only, inherited
indigo300 VxRichText
read-only, inherited
indigo400 VxRichText
read-only, inherited
indigo500 VxRichText
read-only, inherited
indigo600 VxRichText
read-only, inherited
indigo700 VxRichText
read-only, inherited
indigo800 VxRichText
read-only, inherited
indigo900 VxRichText
read-only, inherited
italic VxRichText
Sets FontStyle to FontStyle.italic
read-only
justify VxRichText
To align text as justify
read-only
lg VxRichText
Sets textScaleFactor to large i.e. 1.125
read-only
light VxRichText
read-only
lineThrough VxRichText
Sets TextDecoration as TextDecoration.lineThrough
read-only
lowercase VxRichText
Converts the text to fully lowercase.
read-only
medium VxRichText
read-only
normal VxRichText
read-only
orange100 VxRichText
read-only, inherited
orange200 VxRichText
read-only, inherited
orange300 VxRichText
read-only, inherited
orange400 VxRichText
read-only, inherited
orange500 VxRichText
read-only, inherited
orange600 VxRichText
read-only, inherited
orange700 VxRichText
read-only, inherited
orange800 VxRichText
read-only, inherited
orange900 VxRichText
read-only, inherited
overline VxRichText
Sets TextDecoration as TextDecoration.overline
read-only
pink100 VxRichText
read-only, inherited
pink200 VxRichText
read-only, inherited
pink300 VxRichText
read-only, inherited
pink400 VxRichText
read-only, inherited
pink500 VxRichText
read-only, inherited
pink600 VxRichText
read-only, inherited
pink700 VxRichText
read-only, inherited
pink800 VxRichText
read-only, inherited
pink900 VxRichText
read-only, inherited
purple100 VxRichText
read-only, inherited
purple200 VxRichText
read-only, inherited
purple300 VxRichText
read-only, inherited
purple400 VxRichText
read-only, inherited
purple500 VxRichText
read-only, inherited
purple600 VxRichText
read-only, inherited
purple700 VxRichText
read-only, inherited
purple800 VxRichText
read-only, inherited
purple900 VxRichText
read-only, inherited
red100 VxRichText
read-only, inherited
red200 VxRichText
read-only, inherited
red300 VxRichText
read-only, inherited
red400 VxRichText
read-only, inherited
red500 VxRichText
read-only, inherited
red600 VxRichText
read-only, inherited
red700 VxRichText
read-only, inherited
red800 VxRichText
read-only, inherited
red900 VxRichText
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
semiBold VxRichText
read-only
sm VxRichText
Sets textScaleFactor to small i.e. 0.875
read-only
start VxRichText
To align text in start
read-only
teal100 VxRichText
read-only, inherited
teal200 VxRichText
read-only, inherited
teal300 VxRichText
read-only, inherited
teal400 VxRichText
read-only, inherited
teal500 VxRichText
read-only, inherited
teal600 VxRichText
read-only, inherited
teal700 VxRichText
read-only, inherited
teal800 VxRichText
read-only, inherited
teal900 VxRichText
read-only, inherited
thin VxRichText
read-only
tight VxRichText
Sets letterSpacing to -1.0
read-only
tighter VxRichText
Sets letterSpacing to -2.0
read-only
tightest VxRichText
Sets letterSpacing to -3.0
read-only
transparent VxRichText
read-only, inherited
underline VxRichText
Sets TextDecoration as TextDecoration.underline
read-only
uppercase VxRichText
Converts the text to fully uppercase.
read-only
velocityColor Color
@protected, read / write, inherited
visible VxRichText
To overlow text as visible
read-only
white VxRichText
read-only, inherited
wide VxRichText
Sets letterSpacing to 1.0
read-only
wider VxRichText
Sets letterSpacing to 2.0
read-only
widest VxRichText
Sets letterSpacing to 3.0
read-only
xl VxRichText
Sets textScaleFactor to extra large i.e. 1.25
read-only
xl2 VxRichText
Sets textScaleFactor to twice extra large i.e. 1.5
read-only
xl3 VxRichText
Sets textScaleFactor to thrice extra large i.e. 1.875
read-only
xl4 VxRichText
Sets textScaleFactor to four times extra large i.e. 2.25
read-only
xl5 VxRichText
Sets textScaleFactor to five times extra large i.e. 3
read-only
xl6 VxRichText
Sets textScaleFactor to six times extra large i.e. 4
read-only
xs VxRichText
Sets textScaleFactor to extra small i.e. 0.75
read-only
yellow100 VxRichText
read-only, inherited
yellow200 VxRichText
read-only, inherited
yellow300 VxRichText
read-only, inherited
yellow400 VxRichText
read-only, inherited
yellow500 VxRichText
read-only, inherited
yellow600 VxRichText
read-only, inherited
yellow700 VxRichText
read-only, inherited
yellow800 VxRichText
read-only, inherited
yellow900 VxRichText
read-only, inherited

Methods

color(Color color) VxRichText
Set color of the text
doubleTap(Function function) VxRichText
Set doubleTap func
fontFamily(String family) VxRichText
Set fontFamily for the text
hexColor(String colorHex) VxRichText
Set color of the text using hexvalue
letterSpacing(double val) VxRichText
Sets custom letterSpacing with val
lineHeight(double val) VxRichText
Sets custom lineHeight with val
make({Key key}) AutoSizeText
maxFontSize(double maxFontSize) VxRichText
The maximum text size constraint to be used when auto-sizing text.
maxLines(int lines) VxRichText
An optional maximum number of lines for the text to span, wrapping if necessary. If the text exceeds the given number of lines, it will be resized according to the specified bounds and if necessary truncated according to overflow. [...]
minFontSize(double minFontSize) VxRichText
The minimum text size constraint to be used when auto-sizing text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
overflowReplacement(Widget overflowReplacement) VxRichText
If the text is overflowing and does not fit its bounds, this widget is displayed instead.
setChildToColor(VxRichText child) → void
@protected, inherited
size(double size) VxRichText
To set fontSize of the text using size
stepGranularity(double stepGranularity) VxRichText
The step size in which the font size is being adapted to constraints. [...]
strutStyle(StrutStyle _style) VxRichText
The strut style to use. Strut style defines the strut, which sets minimum vertical layout metrics. [...]
tap(Function function) VxRichText
Set tap func
textBaseLine(TextBaseline baseline) VxRichText
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) VxRichText
Use textStyle to provide custom or any theme style. [...]
toString() String
A string representation of this object. [...]
inherited
withTextSpanChildren(List<TextSpan> children) VxRichText
Set children with list of text spans
wordSpacing(double spacing) VxRichText
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