BlockComponentRenderer class
- Inheritance
-
- Object
- BlockComponentRendererService
- BlockComponentRenderer
Constructors
-
BlockComponentRenderer({required Map<
String, BlockComponentBuilder> builders})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
blockComponentBuilder(
String type) → BlockComponentBuilder? -
Returns a BlockComponentBuilder, if one has been registered for
type
or null otherwise.override -
blockComponentSelectable(
String type) → BlockComponentSelectable< BlockComponentBuilder> ? -
inherited
-
build(
BuildContext buildContext, Node node, {Widget? header, }) → Widget -
Build a widget for the specified
node
.override -
buildList(
BuildContext buildContext, Iterable< Node> nodes) → List<Widget> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String type, BlockComponentBuilder builder) → void -
Register render plugin with specified
type
.override -
registerAll(
Map< String, BlockComponentBuilder> builders) → void -
Register render plugins with specified
type
s.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
unRegister(
String type) → void -
UnRegister plugin with specified
type
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited