Subtitle1 class
Constructors
Subtitle1 (String text , {Key ? key , TextStyle ? style , TextAlign ? textAlign , InlineSpan ? textSpan , StrutStyle ? strutStyle , TextDirection ? textDirection , Locale ? locale , bool ? softWrap , TextOverflow ? overflow , double ? textScaleFactor , int ? maxLines , String ? semanticsLabel , TextWidthBasis ? textWidthBasis })
Text Widget
with the subtitle1 theme style.
const
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
key
→ Key ?
Controls how one widget replaces another widget in the tree.
final inherited
locale
→ Locale ?
Used to select a font when the same Unicode character can
be rendered differently, depending on the locale.
final
maxLines
→ int ?
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 .
final
overflow
→ TextOverflow ?
How visual overflow should be handled.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
semanticsLabel
→ String ?
An alternative semantics label for this text.
final
softWrap
→ bool ?
Whether the text should break at soft line breaks.
final
strutStyle
→ StrutStyle ?
The strut style to use. Strut style defines the strut, which sets minimum
vertical layout metrics.
final
style
→ TextStyle ?
Returns a new text style that is a combination of this subtitle1 theme style and the given other
style.
final
text
→ String
The text to display.
final
textAlign
→ TextAlign ?
How the text should be aligned horizontally.
final
textDirection
→ TextDirection ?
The directionality of the text.
final
textScaleFactor
→ double ?
The number of font pixels for each logical pixel.
final
textSpan
→ InlineSpan ?
The text to display as a InlineSpan .
final
textWidthBasis
→ TextWidthBasis ?
Defines how to measure the width of the rendered text.
final