TextStyleHtml class Null safety

A text style.

Annotations

Constructors

TextStyleHtml.root(Iterable deps, TextStyle? widgetStyle)
Creates the root text style.
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height double?
The line height.
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
whitespace CssWhitespace
The whitespace behavior.
final

Methods

copyWith({double? height, TextStyleHtml? parent, TextStyle? style, TextAlign? textAlign, TextDirection? textDirection, CssWhitespace? whitespace}) 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
A string representation of this object. [...]
inherited

Operators

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