Attribute<T> class
Null safety
- Implementers
- AlignAttribute
- BackgroundAttribute
- BlockQuoteAttribute
- BoldAttribute
- CodeBlockAttribute
- ColorAttribute
- DirectionAttribute
- FontAttribute
- HeaderAttribute
- HeightAttribute
- IndentAttribute
- InlineCodeAttribute
- ItalicAttribute
- LinkAttribute
- ListAttribute
- PlaceholderAttribute
- ScriptAttribute
- SizeAttribute
- SmallAttribute
- StrikeThroughAttribute
- StyleAttribute
- TokenAttribute
- UnderlineAttribute
- WidthAttribute
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
-
Unique key of this attribute.
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
- direction → DirectionAttribute
-
final
-
exclusiveBlockKeys
→ Set<
String> -
final
- font → FontAttribute
-
final
-
h1
→ Attribute<
int?> -
read-only
-
h2
→ Attribute<
int?> -
read-only
-
h3
→ Attribute<
int?> -
read-only
- header → HeaderAttribute
-
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
- link → LinkAttribute
-
final
- list → ListAttribute
-
final
-
ol
→ Attribute<
String?> -
read-only
- placeholder → PlaceholderAttribute
-
final
-
rightAlignment
→ Attribute<
String?> -
read-only
-
rtl
→ 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
Constants
- mobileAlignment → const String
-
'mobileAlignment'
- mobileHeight → const String
-
'mobileHeight'
- mobileMargin → const String
-
'mobileMargin'
- mobileWidth → const String
-
'mobileWidth'