EditorView constructor

const EditorView({
  1. Key? key,
  2. required Color backgroundColor,
  3. required EditorController controller,
  4. Widget? topBar,
  5. Widget? actionsBar,
  6. List<Widget> additionalActions = const <Widget>[],
  7. dynamic onDone(
    1. Future<StoryModel> story
    )?,
  8. dynamic onClose(
    1. Future<StoryModel> story
    )?,
  9. required StoryEditorUiSettings uiSettings,
})

Implementation

const EditorView({
  Key? key,
  required this.backgroundColor,
  required this.controller,
  this.topBar,
  this.actionsBar,
  this.additionalActions = const <Widget>[],
  this.onDone,
  this.onClose,
  required this.uiSettings,
}) : super(key: key);