BlockHandler class abstract
Handler for specific block types.
- Implementers
Constructors
Properties
Methods
-
handle(
Block block, Context context) → FutureOr< void> - Handle a block with the given context. Can return a Future for async operations or void for sync operations.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processChildren(
Block block, Context context) → FutureOr< void> ? - Process child elements of the block.
-
registerScopedCommands(
BlockHandlerRegistry registry) → void - Register block-scoped command handlers for this block type. Override this method to register commands that should only be active within this block type.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited