DefaultStyles class Null safety

Constructors

DefaultStyles({DefaultTextBlockStyle? h1, DefaultTextBlockStyle? h2, DefaultTextBlockStyle? h3, DefaultTextBlockStyle? paragraph, TextStyle? bold, TextStyle? italic, TextStyle? small, TextStyle? underline, TextStyle? strikeThrough, TextStyle? inlineCode, TextStyle? link, Color? color, DefaultTextBlockStyle? placeHolder, DefaultListBlockStyle? lists, DefaultTextBlockStyle? quote, DefaultTextBlockStyle? code, DefaultTextBlockStyle? indent, DefaultTextBlockStyle? align, DefaultTextBlockStyle? leading, TextStyle? sizeSmall, TextStyle? sizeLarge, TextStyle? sizeHuge})

Properties

align DefaultTextBlockStyle?
final
bold TextStyle?
final
code DefaultTextBlockStyle?
final
color Color?
final
h1 DefaultTextBlockStyle?
final
h2 DefaultTextBlockStyle?
final
h3 DefaultTextBlockStyle?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
indent DefaultTextBlockStyle?
final
inlineCode TextStyle?
final
italic TextStyle?
final
leading DefaultTextBlockStyle?
final
final
lists DefaultListBlockStyle?
final
paragraph DefaultTextBlockStyle?
final
placeHolder DefaultTextBlockStyle?
final
quote DefaultTextBlockStyle?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sizeHuge TextStyle?
final
sizeLarge TextStyle?
final
sizeSmall TextStyle?
final
small TextStyle?
final
strikeThrough TextStyle?
final
underline TextStyle?
final

Methods

merge(DefaultStyles other) DefaultStyles
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

Static Methods

getInstance(BuildContext context) DefaultStyles