chore: upgrade minimum support flutter version, >= 3.3.0 (#1551)
* feat: upgrade flutter version to 3.3.0 for appflowy_editor and appflowy_editor_plugin * feat: upgrade flutter version to 3.3.0 for appflowy * feat: upgrade flutter version to 3.3.0 for CI * chore: update flutter version in ci workflows * chore: fix warnings * chore: fix unuse import * chore: support cargo make dart_unit_test on windows platform * fix: copy to sandbox errors Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
parent
95c20f0d42
commit
7b883e56f4
1 changed files with 22 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ void main() async {
|
|||
TestWidgetsFlutterBinding.ensureInitialized();
|
||||
});
|
||||
|
||||
Node _createEmptyEditorRoot() {
|
||||
Node createEmptyEditorRoot() {
|
||||
return Node(
|
||||
type: 'editor',
|
||||
children: LinkedList(),
|
||||
|
|
@ -17,7 +17,7 @@ void main() async {
|
|||
}
|
||||
|
||||
test("HistoryItem #1", () {
|
||||
final document = Document(root: _createEmptyEditorRoot());
|
||||
final document = Document(root: createEmptyEditorRoot());
|
||||
final editorState = EditorState(document: document);
|
||||
|
||||
final historyItem = HistoryItem();
|
||||
|
|
@ -35,7 +35,7 @@ void main() async {
|
|||
});
|
||||
|
||||
test("HistoryItem #2", () {
|
||||
final document = Document(root: _createEmptyEditorRoot());
|
||||
final document = Document(root: createEmptyEditorRoot());
|
||||
final editorState = EditorState(document: document);
|
||||
|
||||
final historyItem = HistoryItem();
|
||||
|
|
|
|||
Loading…
Reference in a new issue