bottomBar property

(ReactiveCustomWidget<Widget>? Function(ProImageEditorState editor, Stream rebuildStream, Key key)?) bottomBar
final

A custom bottom bar widget.

IMPORTANT: You must add the key to your bottombar widget that the editor calculate layer movements correctly.

Example:

bottomBar: (editor, rebuildStream, key) {
  return ReactiveCustomWidget(
    stream: rebuildStream,
    builder: (_) => BottomAppBar(
      key: key,
      child: const Icon(Icons.abc),
    ),
  );
},

Implementation

final ReactiveCustomWidget? Function(
  ProImageEditorState editor,
  Stream rebuildStream,
  Key key,
)? bottomBar;