TextStyleHtml class
A text style.
- Annotations
- @immutable
Constructors
-
TextStyleHtml({@required Iterable deps,
double height, int maxLines, TextStyleHtml parent, TextStyle style, TextAlign textAlign, TextDirection textDirection, TextOverflow textOverflow} ) - Creates a text style.
-
TextStyleHtml.root(Iterable deps,
TextStyle widgetTextStyle ) -
Creates the root text style.
factory
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- height → double
-
The line height.
final
- maxLines → int
-
The number of max lines that should be rendered.
final
- parent → TextStyleHtml
-
The parent style.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- style → TextStyle
-
The input TextStyle.
final
- styleWithHeight → TextStyle
-
Returns a TextStyle merged from style and height. [...]
read-only
- textAlign → TextAlign
-
The text alignment.
final
- textDirection → TextDirection
-
The text direction.
final
- textOverflow → TextOverflow
-
The overflow behavior.
final
Methods
-
copyWith(
{double height, int maxLines, TextStyleHtml parent, TextStyle style, TextAlign textAlign, TextDirection textDirection, TextOverflow textOverflow} ) → TextStyleHtml - Creates a copy with the given fields replaced with the new values.
-
getDependency<
T> () → T - Gets dependency value by type. [...]
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited