EditorController constructor

EditorController({
  1. dynamic rootId,
  2. CellState rootState = const CellState(),
  3. required CellModel rootModel,
  4. EditorState state = const EditorState(),
  5. 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;
}