refactor: renamed EditorToolBar

This commit is contained in:
jideguru
2021-05-29 22:51:04 +01:00
parent d5b8305fa3
commit 5e20c582e6
7 changed files with 35 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
import 'package:rich_editor/src/models/enum.dart';
import 'command_state.dart';
class EditorState {
bool didHtmlChange;
String html;
Map<CommandName, CommandState> commandStates;
EditorState({
this.didHtmlChange = false,
this.html = '',
this.commandStates = const <CommandName, CommandState>{},
});
}