Attribute<T> class Null safety

Implementers

Constructors

Attribute(String key, AttributeScope scope, T value)

Properties

hashCode int
The hash code for this object. [...]
read-only, override
isBlockExceptHeader bool
read-only
isInline bool
read-only
key String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope AttributeScope
final
value → T
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Properties

align AlignAttribute
final
background BackgroundAttribute
final
blockKeys Set<String>
final
blockKeysExceptHeader Set<String>
final
blockQuote BlockQuoteAttribute
final
bold BoldAttribute
final
centerAlignment Attribute<String?>
read-only
checked Attribute<String?>
read-only
codeBlock CodeBlockAttribute
final
color ColorAttribute
final
exclusiveBlockKeys Set<String>
final
font FontAttribute
final
h1 Attribute<int?>
read-only
h2 Attribute<int?>
read-only
h3 Attribute<int?>
read-only
final
height HeightAttribute
final
indent IndentAttribute
final
indentL1 Attribute<int?>
read-only
indentL2 Attribute<int?>
read-only
indentL3 Attribute<int?>
read-only
inlineCode InlineCodeAttribute
final
inlineKeys Set<String>
final
italic ItalicAttribute
final
justifyAlignment Attribute<String?>
read-only
leftAlignment Attribute<String?>
read-only
final
list ListAttribute
final
ol Attribute<String?>
read-only
placeholder PlaceholderAttribute
final
rightAlignment Attribute<String?>
read-only
script ScriptAttribute
final
size SizeAttribute
final
small SmallAttribute
final
strikeThrough StrikeThroughAttribute
final
style StyleAttribute
final
token TokenAttribute
final
ul Attribute<String?>
read-only
unchecked Attribute<String?>
read-only
underline UnderlineAttribute
final
width WidthAttribute
final

Static Methods

clone(Attribute origin, dynamic value) Attribute
fromKeyValue(String key, dynamic value) Attribute?
getIndentLevel(int? level) Attribute<int?>
getRegistryOrder(Attribute attribute) int