HeaderAttribute class
- Inheritance
-
- Object
- EasyAttribute<
int?> - EasyExclusiveBlockAttribute<
int?> - HeaderAttribute
Constructors
- HeaderAttribute([int? value])
-
const
- HeaderAttribute.fromLevel({required int? level, bool nullIfUnknown = true})
-
factory
- HeaderAttribute.h1()
-
const
- HeaderAttribute.h2()
-
const
- HeaderAttribute.h3()
-
const
- HeaderAttribute.h4()
-
const
- HeaderAttribute.h5()
-
const
- HeaderAttribute.h6()
-
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 → int?
-
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(
int? value) → HeaderAttribute -
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