LineheightAttribute class
- Inheritance
-
- Object
- EasyAttribute<
double?> - EasyBlockAttribute<
double?> - LineheightAttribute
Constructors
- LineheightAttribute([double? height])
-
const
- LineheightAttribute.hight()
-
Corresponds to the value 1.5
const
- LineheightAttribute.normal()
-
Corresponds to the value 1.0
const
- LineheightAttribute.small()
-
Corresponds to the value 0.5
const
- LineheightAttribute.veryHigh()
-
Corresponds to the value 2.0
const
Properties
- exclusive → bool
-
Determines if this attribute is exclusive and cannot be combined with
other exclusive attributes.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInline → bool
-
Determines whether this attribute is applied inline (to text ranges)
or as a block attribute (to paragraphs/blocks).
no setterinherited
- key → String
-
A unique identifier key for this attribute type.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double?
-
The value of this attribute. The type
Tdepends on the specific attribute.finalinherited
Methods
-
canMergeWith(
EasyAttribute< Object?> attribute) → bool -
Determines if this attribute can be merged with another attribute of the
same type or different types.
inherited
-
clone(
double? value) → LineheightAttribute -
Creates a new instance of this attribute with the given
value.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant EasyAttribute< Object?> other) → bool -
The equality operator.
inherited