EditorController constructor
EditorController({
- dynamic rootId,
- CellState rootState = const CellState(),
- required CellModel rootModel,
- EditorState state = const EditorState(),
- List<
EditorPlugin> plugins = const [],
Implementation
EditorController({
dynamic rootId,
CellState rootState = const CellState(),
required CellModel rootModel,
super.state = const EditorState(),
List<EditorPlugin> plugins = const [],
}) : super(plugins: plugins) {
root = _create(rootId, rootState, rootModel);
_cells[root.id] = root;
}