LineTheme class

Holds typography values for a document line in Zefyr editor.

Applicable for regular paragraphs, headings and lines within blocks (lists, quotes). Blocks may override some of these values using BlockTheme.

Annotations

Constructors

LineTheme({@required TextStyle textStyle, @required EdgeInsets padding})
Creates a LineTheme given a set of exact values.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
padding EdgeInsets
Additional space around a document line.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
textStyle TextStyle
Default text style for a document line.
final

Methods

copyWith({TextStyle textStyle, EdgeInsets padding}) LineTheme
Creates a copy of this theme but with the given fields replaced with the new values.
merge(LineTheme other) LineTheme
Creates a new LineTheme where each property from this object has been merged with the matching property from the other object. [...]
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 ==(dynamic other) bool
The equality operator. [...]
override