TopLevelBlockEnum class
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
dynamic index) → dynamic
Static Properties
-
items
→ List<
TopLevelBlockEnum> -
no setter
Static Methods
-
fromKey(
String key) → TopLevelBlockEnum? -
fromValue(
dynamic value) → TopLevelBlockEnum?
Constants
-
CONTAINERS
→ const Map<
BLOCKS, List< BLOCKS> > - Dictionary of all container block types, and the set block types they accept as children.
- EMBEDDED_ASSET → const TopLevelBlockEnum
- EMBEDDED_ENTRY → const TopLevelBlockEnum
- HEADING_1 → const TopLevelBlockEnum
- HEADING_2 → const TopLevelBlockEnum
- HEADING_3 → const TopLevelBlockEnum
- HEADING_4 → const TopLevelBlockEnum
- HEADING_5 → const TopLevelBlockEnum
- HEADING_6 → const TopLevelBlockEnum
- HR → const TopLevelBlockEnum
- OL_LIST → const TopLevelBlockEnum
- PARAGRAPH → const TopLevelBlockEnum
- QUOTE → const TopLevelBlockEnum
-
TOP_LEVEL_BLOCKS
→ const List<
BLOCKS> - Array of all top level block types. Only these block types can be the direct children of the document.
- UL_LIST → const TopLevelBlockEnum
-
VOID_BLOCKS
→ const List<
BLOCKS> - Array of all void block types