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:
Lucas.Xu 2023-01-01 23:26:27 +08:00 • committed by GitHub
commit 7b883e56f4

View file

@ -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();