LineHeightAttribute class

This attribute represents the space between text lines. The line height can be adjusted using predefined constants or custom values

The attribute at the json looks like: "attributes":{"line-height": 1.5 }

Inheritance

Constructors

LineHeightAttribute({double? lineHeight})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isBlockExceptHeader bool
no setterinherited
isInline bool
no setterinherited
key String
Unique key of this attribute.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope AttributeScope
finalinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
value double?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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