bodyItems property

(List<ReactiveCustomWidget<Widget>> Function(EditorState editorState, Stream rebuildStream)?) bodyItems
final

Add custom widgets at a specific position inside the body.

Example:

bodyItems: (editor, rebuildStream) => [
  ReactiveCustomWidget(
    stream: rebuildStream,
    builder: (_) => Container(
      width: 100,
      height: 100,
      color: Colors.red,
    ),
  ),
],

Implementation

final List<ReactiveCustomWidget> Function(
  EditorState editorState,
  Stream rebuildStream,
)? bodyItems;