EditorState constructor

const EditorState({
  1. required bool isLoading,
  2. required String xmlContent,
  3. required bool asyncMode,
  4. required ScreenContentType contentType,
  5. required bool canChangeContentType,
  6. required bool isSyncedWithFile,
  7. required MenuElement activeElement,
  8. required TagRenderer<Widget> activeTagRenderer,
})

Implementation

const EditorState({
  required this.isLoading,
  required this.xmlContent,
  required this.asyncMode,
  required this.contentType,
  required this.canChangeContentType,
  required this.isSyncedWithFile,
  required this.activeElement,
  required this.activeTagRenderer,
});