XuText class


XuText(String _text)


hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


align(TextAlign textAlign) XuText
Set TextAlign. How the text should be aligned horizontally.
background(Paint background) XuText
The paint drawn as a background for the text.
backgroundColor(Color color) XuText
The color to use as the background for the text.
color(Color color) XuText
The color to use when painting the text.
create({Key key}) Widget
debugLabel(String debugLabel) XuText
A human-readable description of this text style. [...]
decoration(TextDecoration decoration) XuText
The decorations to paint near the text (e.g., an underline). [...]
decorationColor(Color decorationColor) XuText
The color in which to paint the text decorations.
decorationThickness(double decorationThickness) XuText
The thickness of the decoration stroke as a multiplier of the thickness defined by the font.
direction(TextDirection direction) XuText
Set TextDirection. A direction in which text flows.
fontFamily(String fontFamily) XuText
The package argument must be non-null if the font family is defined in a package. It is combined with the fontFamily argument to set the fontFamily property.
fontFeatures(List<FontFeature> fontFeatures) XuText
A list of FontFeatures that affect how the font selects glyphs
fontSize(double fontSize) XuText
The size of glyphs (in logical pixels) to use when painting the text.
fontStyle(FontStyle fontStyle) XuText
The typeface variant to use when drawing the letters (e.g., italics).
fontWeight(FontWeight fontWeight) XuText
The typeface thickness to use when painting the text (e.g., bold).
foreground(Paint foreground) XuText
The paint drawn as a foreground for the text.
height(double height) XuText
The height of this text span, as a multiple of the font size.
letterSpacing(double letterSpacing) XuText
The amount of space (in logical pixels) to add between each letter. A negative value can be used to bring the letters closer.
locale(Locale locale) XuText
An identifier used to select a user's language and formatting preferences.
maxLines(int line) XuText
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 truncated according to overflow. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
overflow(TextOverflow overflow) XuText
How visual overflow should be handled. [...]
semanticsLabel(String semanticsLabel) XuText
An alternative semantics label for this text. [...]
shadows(List<Shadow> shadows) XuText
A list of Shadows that will be painted underneath the text.
softWrap(bool softWrap) XuText
Whether the text should break at soft line breaks. [...]
textBaseline(TextBaseline textBaseline) XuText
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.
textHeightBehavior(TextHeightBehavior textHeightBehavior) XuText
Defines how the paragraph will apply TextStyle.height to the ascent of the first line and descent of the last line. [...]
textLocel(Locale textLocale) XuText
The locale used to select region-specific glyphs.
textScaleFactor(double textScaleFactor) XuText
The number of font pixels for each logical pixel. [...]
textWidthBasis(TextWidthBasis textWidthBasis) XuText
Defines how to measure the width of the rendered text.
toString() String
A string representation of this object. [...]
wordSpacing(double wordSpacing) XuText


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