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.new({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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope AttributeScope
finalinherited
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