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 }
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
, thetoString
method will be overridden to output this instance'sprops
.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
Constants
-
lineHeightDouble
→ const Attribute<
double?> -
lineHeightNormal
→ const Attribute<
double?> -
lineHeightOneAndHalf
→ const Attribute<
double?> -
lineHeightTight
→ const Attribute<
double?>