EditorController class
- Inheritance
-
- Object
- EventBusBase<
EditorState> - AsyncEventBus<
EditorState> - EditorController
- Available Extensions
Constructors
-
EditorController({dynamic rootId, CellState rootState = const CellState(), required CellModel rootModel, EditorState state = const EditorState(), List<
EditorPlugin> plugins = const []})
Properties
-
cells
→ Map<
dynamic, CellController> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
no setterinherited
-
plugins
↔ Iterable<
EditorPlugin> -
getter/setter pairinherited-setteroverride-getter
- root ↔ CellController
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → EditorState
-
no setterinherited
-
stream
→ Stream<
EditorState> -
no setterinherited
Methods
-
after<
Event extends EventBase> (EventHandler< AfterEvent< handler, {HandlerPriority priority = HandlerPriority.medium}) → DisposableEvent, EditorState> , EditorState> -
inherited
-
attachPlugin(
Plugin< EditorState> plugin) → void -
inherited
-
close(
) → Future< void> -
inherited
-
create(
{required dynamic id, required CellModel model, CellState state = const CellState(), CellController? parent, List< CellPlugin> extraPlugins = const []}) → CellController -
createDependency(
CellController depended, CellController depending) → void -
detachPlugin(
Plugin< EditorState> plugin) → void -
inherited
-
invoke<
Event extends EventBase> (Event event) → Future< InvokeResult< EditorState> > -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
Event extends EventBase> (EventHandler< Event, EditorState> handler, {HandlerPriority priority = HandlerPriority.medium}) → Disposable -
inherited
-
onAfterInvoke<
Event extends EventBase> (Event event, EditorState previous) → Future< void> -
inherited
-
onCreate(
) → void -
inherited
-
reattach(
CellController parent, CellController child) → void -
remove(
dynamic id) → CellController? -
removeDependency(
CellController depended, CellController depending) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
EditorState state) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited