Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: upgrade to flutter 3.0
appflowy2698fb43ad88
diff --git a/frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart b/frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dartindex bad8000643..4a78815beb 100644--- a/frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart+++ b/frontend/app_flowy/lib/user/presentation/skip_log_in_screen.dart@@ -88,8 +88,9 @@ class _SkipLogInScreenState extends State<SkipLogInScreen> {}_launchURL(String url) async {- if (await canLaunch(url)) {- await launch(url);+ final uri = Uri.parse(url);+ if (await canLaunchUrl(uri)) {+ await launchUrl(uri);} else {throw 'Could not launch $url';}diff --git a/frontend/app_flowy/lib/workspace/application/app/app_bloc.dart b/frontend/app_flowy/lib/workspace/application/app/app_bloc.dartindex 663e630a6a..e5eabe98e4 100644--- a/frontend/app_flowy/lib/workspace/application/app/app_bloc.dart+++ b/frontend/app_flowy/lib/workspace/application/app/app_bloc.dart@@ -1,3 +1,5 @@+import 'dart:collection';+import 'package:app_flowy/plugin/plugin.dart';import 'package:app_flowy/startup/startup.dart';import 'package:app_flowy/workspace/application/app/app_listener.dart';diff --git a/frontend/app_flowy/lib/workspace/application/grid/cell/select_option_editor_bloc.dart b/frontend/app_flowy/lib/workspace/application/grid/cell/select_option_editor_bloc.dartindex 2702e6006f..a1e1315682 100644--- a/frontend/app_flowy/lib/workspace/application/grid/cell/select_option_editor_bloc.dart+++ b/frontend/app_flowy/lib/workspace/application/grid/cell/select_option_editor_bloc.dart@@ -6,6 +6,7 @@ import 'package:flutter_bloc/flutter_bloc.dart';import 'package:freezed_annotation/freezed_annotation.dart';import 'package:app_flowy/workspace/application/grid/cell/cell_service/cell_service.dart';import 'select_option_service.dart';+import 'package:collection/collection.dart';part 'select_option_editor_bloc.freezed.dart';diff --git a/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart b/frontend/app_flowy/lib/workspace/application/grid/grid_service.dartindex 4ed54c5f3b..38ebfc63fc 100644--- a/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart+++ b/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart@@ -1,3 +1,5 @@+import 'dart:collection';+import 'package:app_flowy/workspace/application/grid/field/grid_listenr.dart';import 'package:dartz/dartz.dart';import 'package:flowy_sdk/dispatch/dispatch.dart';@@ -6,8 +8,6 @@ import 'package:flowy_sdk/protobuf/flowy-error/errors.pb.dart';import 'package:flowy_sdk/protobuf/flowy-folder-data-model/view.pb.dart';import 'package:flowy_sdk/protobuf/flowy-grid-data-model/grid.pb.dart';import 'package:flutter/foundation.dart';-import 'package:freezed_annotation/freezed_annotation.dart';-import 'cell/cell_service/cell_service.dart';import 'row/row_service.dart';diff --git a/frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/section.dart b/frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/section.dartindex d9fd618e9a..d352db6620 100644--- a/frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/section.dart+++ b/frontend/app_flowy/lib/workspace/presentation/home/menu/app/section/section.dart@@ -26,7 +26,7 @@ class ViewSection extends StatelessWidget {listenWhen: (p, c) => p.selectedView != c.selectedView,listener: (context, state) {if (state.selectedView != null) {- WidgetsBinding.instance?.addPostFrameCallback((_) {+ WidgetsBinding.instance.addPostFrameCallback((_) {getIt<HomeStackManager>().setPlugin(state.selectedView!.plugin());});}diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/widget/toolbar/tool_bar.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/widget/toolbar/tool_bar.dartindex 2ab0b78cc9..8dae41f986 100644--- a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/widget/toolbar/tool_bar.dart+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/widget/toolbar/tool_bar.dart@@ -184,7 +184,7 @@ class _ToolbarButtonListState extends State<ToolbarButtonList> with WidgetsBindi// Listening to the WidgetsBinding instance is necessary so that we can// hide the arrows when the window gets a new size and thus the toolbar// becomes scrollable/unscrollable.- WidgetsBinding.instance!.addObserver(this);+ WidgetsBinding.instance.addObserver(this);// Workaround to allow the scroll controller attach to our ListView so that// we can detect if overflow arrows need to be shown on init.@@ -226,7 +226,7 @@ class _ToolbarButtonListState extends State<ToolbarButtonList> with WidgetsBindi@overridevoid dispose() {_controller.dispose();- WidgetsBinding.instance!.removeObserver(this);+ WidgetsBinding.instance.removeObserver(this);super.dispose();}diff --git a/frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/src/emoji_picker.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/src/emoji_picker.dartindex f1e4420252..650cd185f1 100644--- a/frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/src/emoji_picker.dart+++ b/frontend/app_flowy/lib/workspace/presentation/widgets/emoji_picker/src/emoji_picker.dart@@ -135,7 +135,7 @@ class _EmojiPickerState extends State<EmojiPicker> {if (!loaded) {// Load emojisupdateEmojiFuture.then(- (value) => WidgetsBinding.instance!.addPostFrameCallback((_) {+ (value) => WidgetsBinding.instance.addPostFrameCallback((_) {if (!mounted) return;setState(() {loaded = true;diff --git a/frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dartindex 91ce8d07ec..762a978693 100644--- a/frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart+++ b/frontend/app_flowy/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart@@ -62,8 +62,9 @@ class QuestionBubble extends StatelessWidget {}_launchURL(String url) async {- if (await canLaunch(url)) {- await launch(url);+ final uri = Uri.parse(url);+ if (await canLaunchUrl(uri)) {+ await launchUrl(uri);} else {throw 'Could not launch $url';}diff --git a/frontend/app_flowy/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/linux/flutter/generated_plugins.cmakeindex 5562f19113..c7ae414da2 100644--- a/frontend/app_flowy/linux/flutter/generated_plugins.cmake+++ b/frontend/app_flowy/linux/flutter/generated_plugins.cmake@@ -8,6 +8,9 @@ list(APPEND FLUTTER_PLUGIN_LISTwindow_size)+list(APPEND FLUTTER_FFI_PLUGIN_LIST+)+set(PLUGIN_BUNDLED_LIBRARIES)foreach(plugin ${FLUTTER_PLUGIN_LIST})@@ -16,3 +19,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST})list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})endforeach(plugin)++foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})+ add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})+ list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})+endforeach(ffi_plugin)diff --git a/frontend/app_flowy/macos/Runner.xcodeproj/project.pbxproj b/frontend/app_flowy/macos/Runner.xcodeproj/project.pbxprojindex 08e2493683..2e7ab66fee 100644--- a/frontend/app_flowy/macos/Runner.xcodeproj/project.pbxproj+++ b/frontend/app_flowy/macos/Runner.xcodeproj/project.pbxproj@@ -421,6 +421,7 @@CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;CODE_SIGN_STYLE = Automatic;COMBINE_HIDPI_IMAGES = YES;+ EXCLUDED_ARCHS = arm64;INFOPLIST_FILE = Runner/Info.plist;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)",@@ -552,6 +553,7 @@CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;CODE_SIGN_STYLE = Automatic;COMBINE_HIDPI_IMAGES = YES;+ EXCLUDED_ARCHS = arm64;INFOPLIST_FILE = Runner/Info.plist;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)",@@ -575,6 +577,7 @@CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;CODE_SIGN_STYLE = Automatic;COMBINE_HIDPI_IMAGES = YES;+ EXCLUDED_ARCHS = arm64;INFOPLIST_FILE = Runner/Info.plist;LD_RUNPATH_SEARCH_PATHS = ("$(inherited)",diff --git a/frontend/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lockindex 8f7e6d6db2..65d66c67a5 100644--- a/frontend/app_flowy/pubspec.lock+++ b/frontend/app_flowy/pubspec.lock@@ -7,28 +7,28 @@ packages:name: _fe_analyzer_sharedurl: "https://pub.dartlang.org"source: hosted- version: "31.0.0"+ version: "38.0.0"analyzer:dependency: transitivedescription:name: analyzerurl: "https://pub.dartlang.org"source: hosted- version: "2.8.0"+ version: "3.4.1"animations:dependency: transitivedescription:name: animationsurl: "https://pub.dartlang.org"source: hosted- version: "2.0.2"+ version: "2.0.3"args:dependency: transitivedescription:name: argsurl: "https://pub.dartlang.org"source: hosted- version: "2.3.0"+ version: "2.3.1"async:dependency: transitivedescription:@@ -42,14 +42,14 @@ packages:name: blocurl: "https://pub.dartlang.org"source: hosted- version: "8.0.2"+ version: "8.0.3"bloc_test:dependency: "direct dev"description:name: bloc_testurl: "https://pub.dartlang.org"source: hosted- version: "9.0.2"+ version: "9.0.3"boolean_selector:dependency: transitivedescription:@@ -63,7 +63,7 @@ packages:name: buildurl: "https://pub.dartlang.org"source: hosted- version: "2.2.1"+ version: "2.3.0"build_config:dependency: transitivedescription:@@ -77,21 +77,21 @@ packages:name: build_daemonurl: "https://pub.dartlang.org"source: hosted- version: "3.0.1"+ version: "3.1.0"build_resolvers:dependency: transitivedescription:name: build_resolversurl: "https://pub.dartlang.org"source: hosted- version: "2.0.6"+ version: "2.0.8"build_runner:dependency: "direct dev"description:name: build_runnerurl: "https://pub.dartlang.org"source: hosted- version: "2.1.7"+ version: "2.1.11"build_runner_core:dependency: transitivedescription:@@ -112,7 +112,7 @@ packages:name: built_valueurl: "https://pub.dartlang.org"source: hosted- version: "8.1.4"+ version: "8.3.2"characters:dependency: transitivedescription:@@ -134,13 +134,6 @@ packages:url: "https://pub.dartlang.org"source: hostedversion: "2.0.1"- cli_util:- dependency: transitive- description:- name: cli_util- url: "https://pub.dartlang.org"- source: hosted- version: "0.3.5"clipboard:dependency: "direct main"description:@@ -168,7 +161,7 @@ packages:name: collectionurl: "https://pub.dartlang.org"source: hosted- version: "1.15.0"+ version: "1.16.0"connectivity_plus:dependency: "direct main"description:@@ -182,14 +175,14 @@ packages:name: connectivity_plus_linuxurl: "https://pub.dartlang.org"source: hosted- version: "1.2.0"+ version: "1.3.0"connectivity_plus_macos:dependency: transitivedescription:name: connectivity_plus_macosurl: "https://pub.dartlang.org"source: hosted- version: "1.2.1"+ version: "1.2.2"connectivity_plus_platform_interface:dependency: transitivedescription:@@ -224,21 +217,21 @@ packages:name: coverageurl: "https://pub.dartlang.org"source: hosted- version: "1.0.3"+ version: "1.3.2"cross_file:dependency: transitivedescription:name: cross_fileurl: "https://pub.dartlang.org"source: hosted- version: "0.3.2"+ version: "0.3.3+1"crypto:dependency: transitivedescription:name: cryptourl: "https://pub.dartlang.org"source: hosted- version: "3.0.1"+ version: "3.0.2"csslib:dependency: transitivedescription:@@ -259,7 +252,7 @@ packages:name: dart_styleurl: "https://pub.dartlang.org"source: hosted- version: "2.2.1"+ version: "2.2.3"dartz:dependency: transitivedescription:@@ -273,14 +266,14 @@ packages:name: dbusurl: "https://pub.dartlang.org"source: hosted- version: "0.6.8"+ version: "0.7.3"device_info_plus:dependency: "direct main"description:name: device_info_plusurl: "https://pub.dartlang.org"source: hosted- version: "3.2.1"+ version: "3.2.3"device_info_plus_linux:dependency: transitivedescription:@@ -294,7 +287,7 @@ packages:name: device_info_plus_macosurl: "https://pub.dartlang.org"source: hosted- version: "2.2.1"+ version: "2.2.3"device_info_plus_platform_interface:dependency: transitivedescription:@@ -329,7 +322,7 @@ packages:name: easy_localizationurl: "https://pub.dartlang.org"source: hosted- version: "3.0.1-dev"+ version: "3.0.1"easy_logger:dependency: transitivedescription:@@ -357,14 +350,14 @@ packages:name: fake_asyncurl: "https://pub.dartlang.org"source: hosted- version: "1.2.0"+ version: "1.3.0"ffi:dependency: transitivedescription:name: ffiurl: "https://pub.dartlang.org"source: hosted- version: "1.1.2"+ version: "1.2.1"file:dependency: transitivedescription:@@ -378,7 +371,7 @@ packages:name: fixnumurl: "https://pub.dartlang.org"source: hosted- version: "1.0.0"+ version: "1.0.1"flowy_infra:dependency: "direct main"description:@@ -439,14 +432,14 @@ packages:name: flutter_inappwebviewurl: "https://pub.dartlang.org"source: hosted- version: "5.3.2"+ version: "5.4.3+7"flutter_keyboard_visibility:dependency: transitivedescription:name: flutter_keyboard_visibilityurl: "https://pub.dartlang.org"source: hosted- version: "5.1.1"+ version: "5.2.0"flutter_keyboard_visibility_platform_interface:dependency: transitivedescription:@@ -479,13 +472,13 @@ packages:name: flutter_plugin_android_lifecycleurl: "https://pub.dartlang.org"source: hosted- version: "2.0.5"+ version: "2.0.6"flutter_quill:dependency: "direct main"description:path: "."- ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1- resolved-ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1+ ref: "306fd78b7a134abdde0fed6be67f59e8a6068509"+ resolved-ref: "306fd78b7a134abdde0fed6be67f59e8a6068509"url: "https://github.com/appflowy/flutter-quill.git"source: gitversion: "2.0.13"@@ -519,21 +512,21 @@ packages:name: freezedurl: "https://pub.dartlang.org"source: hosted- version: "0.14.5"+ version: "2.0.3+1"freezed_annotation:dependency: "direct main"description:name: freezed_annotationurl: "https://pub.dartlang.org"source: hosted- version: "0.14.3"+ version: "2.0.3"frontend_server_client:dependency: transitivedescription:name: frontend_server_clienturl: "https://pub.dartlang.org"source: hosted- version: "2.1.2"+ version: "2.1.3"get_it:dependency: "direct main"description:@@ -582,42 +575,56 @@ packages:name: http_multi_serverurl: "https://pub.dartlang.org"source: hosted- version: "3.0.1"+ version: "3.2.0"http_parser:dependency: transitivedescription:name: http_parserurl: "https://pub.dartlang.org"source: hosted- version: "4.0.0"+ version: "4.0.1"i18n_extension:dependency: transitivedescription:name: i18n_extensionurl: "https://pub.dartlang.org"source: hosted- version: "4.2.0"+ version: "4.2.1"image_picker:dependency: transitivedescription:name: image_pickerurl: "https://pub.dartlang.org"source: hosted- version: "0.8.4+4"+ version: "0.8.5+3"+ image_picker_android:+ dependency: transitive+ description:+ name: image_picker_android+ url: "https://pub.dartlang.org"+ source: hosted+ version: "0.8.4+13"image_picker_for_web:dependency: transitivedescription:name: image_picker_for_weburl: "https://pub.dartlang.org"source: hosted- version: "2.1.5"+ version: "2.1.8"+ image_picker_ios:+ dependency: transitive+ description:+ name: image_picker_ios+ url: "https://pub.dartlang.org"+ source: hosted+ version: "0.8.5+5"image_picker_platform_interface:dependency: transitivedescription:name: image_picker_platform_interfaceurl: "https://pub.dartlang.org"source: hosted- version: "2.4.3"+ version: "2.5.0"intl:dependency: "direct main"description:@@ -645,14 +652,14 @@ packages:name: jsurl: "https://pub.dartlang.org"source: hosted- version: "0.6.3"+ version: "0.6.4"json_annotation:dependency: transitivedescription:name: json_annotationurl: "https://pub.dartlang.org"source: hosted- version: "4.4.0"+ version: "4.5.0"linked_scroll_controller:dependency: "direct main"description:@@ -666,7 +673,7 @@ packages:name: linturl: "https://pub.dartlang.org"source: hosted- version: "1.8.1"+ version: "1.8.2"lints:dependency: transitivedescription:@@ -680,7 +687,7 @@ packages:name: loading_indicatorurl: "https://pub.dartlang.org"source: hosted- version: "3.0.2"+ version: "3.1.0"logger:dependency: transitivedescription:@@ -708,7 +715,7 @@ packages:name: material_color_utilitiesurl: "https://pub.dartlang.org"source: hosted- version: "0.1.3"+ version: "0.1.4"meta:dependency: transitivedescription:@@ -722,14 +729,14 @@ packages:name: mimeurl: "https://pub.dartlang.org"source: hosted- version: "1.0.1"+ version: "1.0.2"mocktail:dependency: transitivedescription:name: mocktailurl: "https://pub.dartlang.org"source: hosted- version: "0.2.0"+ version: "0.3.0"nested:dependency: transitivedescription:@@ -743,7 +750,7 @@ packages:name: nmurl: "https://pub.dartlang.org"source: hosted- version: "0.4.2"+ version: "0.5.0"node_preamble:dependency: transitivedescription:@@ -764,14 +771,14 @@ packages:name: package_info_plusurl: "https://pub.dartlang.org"source: hosted- version: "1.3.0"+ version: "1.4.2"package_info_plus_linux:dependency: transitivedescription:name: package_info_plus_linuxurl: "https://pub.dartlang.org"source: hosted- version: "1.0.3"+ version: "1.0.5"package_info_plus_macos:dependency: transitivedescription:@@ -792,21 +799,21 @@ packages:name: package_info_plus_weburl: "https://pub.dartlang.org"source: hosted- version: "1.0.4"+ version: "1.0.5"package_info_plus_windows:dependency: transitivedescription:name: package_info_plus_windowsurl: "https://pub.dartlang.org"source: hosted- version: "1.0.4"+ version: "1.0.5"path:dependency: transitivedescription:name: pathurl: "https://pub.dartlang.org"source: hosted- version: "1.8.0"+ version: "1.8.1"path_drawing:dependency: transitivedescription:@@ -827,49 +834,49 @@ packages:name: path_providerurl: "https://pub.dartlang.org"source: hosted- version: "2.0.8"+ version: "2.0.10"path_provider_android:dependency: transitivedescription:name: path_provider_androidurl: "https://pub.dartlang.org"source: hosted- version: "2.0.11"+ version: "2.0.14"path_provider_ios:dependency: transitivedescription:name: path_provider_iosurl: "https://pub.dartlang.org"source: hosted- version: "2.0.7"+ version: "2.0.9"path_provider_linux:dependency: transitivedescription:name: path_provider_linuxurl: "https://pub.dartlang.org"source: hosted- version: "2.1.5"+ version: "2.1.6"path_provider_macos:dependency: transitivedescription:name: path_provider_macosurl: "https://pub.dartlang.org"source: hosted- version: "2.0.5"+ version: "2.0.6"path_provider_platform_interface:dependency: transitivedescription:name: path_provider_platform_interfaceurl: "https://pub.dartlang.org"source: hosted- version: "2.0.3"+ version: "2.0.4"path_provider_windows:dependency: transitivedescription:name: path_provider_windowsurl: "https://pub.dartlang.org"source: hosted- version: "2.0.5"+ version: "2.0.6"pedantic:dependency: transitivedescription:@@ -883,7 +890,7 @@ packages:name: petitparserurl: "https://pub.dartlang.org"source: hosted- version: "4.4.0"+ version: "5.0.0"photo_view:dependency: transitivedescription:@@ -932,14 +939,14 @@ packages:name: providerurl: "https://pub.dartlang.org"source: hosted- version: "6.0.2"+ version: "6.0.3"pub_semver:dependency: transitivedescription:name: pub_semverurl: "https://pub.dartlang.org"source: hosted- version: "2.1.0"+ version: "2.1.1"pubspec_parse:dependency: transitivedescription:@@ -953,49 +960,49 @@ packages:name: quiverurl: "https://pub.dartlang.org"source: hosted- version: "3.0.1+1"+ version: "3.1.0"reorderables:dependency: "direct main"description:name: reorderablesurl: "https://pub.dartlang.org"source: hosted- version: "0.4.3"+ version: "0.5.0"shared_preferences:dependency: transitivedescription:name: shared_preferencesurl: "https://pub.dartlang.org"source: hosted- version: "2.0.12"+ version: "2.0.15"shared_preferences_android:dependency: transitivedescription:name: shared_preferences_androidurl: "https://pub.dartlang.org"source: hosted- version: "2.0.10"+ version: "2.0.12"shared_preferences_ios:dependency: transitivedescription:name: shared_preferences_iosurl: "https://pub.dartlang.org"source: hosted- version: "2.0.9"+ version: "2.1.1"shared_preferences_linux:dependency: transitivedescription:name: shared_preferences_linuxurl: "https://pub.dartlang.org"source: hosted- version: "2.0.4"+ version: "2.1.1"shared_preferences_macos:dependency: transitivedescription:name: shared_preferences_macosurl: "https://pub.dartlang.org"source: hosted- version: "2.0.2"+ version: "2.0.4"shared_preferences_platform_interface:dependency: transitivedescription:@@ -1009,21 +1016,21 @@ packages:name: shared_preferences_weburl: "https://pub.dartlang.org"source: hosted- version: "2.0.3"+ version: "2.0.4"shared_preferences_windows:dependency: transitivedescription:name: shared_preferences_windowsurl: "https://pub.dartlang.org"source: hosted- version: "2.0.4"+ version: "2.1.1"shelf:dependency: transitivedescription:name: shelfurl: "https://pub.dartlang.org"source: hosted- version: "1.2.0"+ version: "1.3.0"shelf_packages_handler:dependency: transitivedescription:@@ -1070,7 +1077,7 @@ packages:name: source_genurl: "https://pub.dartlang.org"source: hosted- version: "1.2.1"+ version: "1.2.2"source_map_stack_trace:dependency: transitivedescription:@@ -1091,7 +1098,7 @@ packages:name: source_spanurl: "https://pub.dartlang.org"source: hosted- version: "1.8.1"+ version: "1.8.2"sprintf:dependency: transitivedescription:@@ -1161,28 +1168,28 @@ packages:name: testurl: "https://pub.dartlang.org"source: hosted- version: "1.19.5"+ version: "1.21.1"test_api:dependency: transitivedescription:name: test_apiurl: "https://pub.dartlang.org"source: hosted- version: "0.4.8"+ version: "0.4.9"test_core:dependency: transitivedescription:name: test_coreurl: "https://pub.dartlang.org"source: hosted- version: "0.4.9"+ version: "0.4.13"textfield_tags:dependency: "direct main"description:name: textfield_tagsurl: "https://pub.dartlang.org"source: hosted- version: "2.0.0"+ version: "2.0.0+1"textstyle_extensions:dependency: transitivedescription:@@ -1217,7 +1224,7 @@ packages:name: typed_dataurl: "https://pub.dartlang.org"source: hosted- version: "1.3.0"+ version: "1.3.1"universal_platform:dependency: transitivedescription:@@ -1231,35 +1238,35 @@ packages:name: url_launcherurl: "https://pub.dartlang.org"source: hosted- version: "6.0.18"+ version: "6.1.2"url_launcher_android:dependency: transitivedescription:name: url_launcher_androidurl: "https://pub.dartlang.org"source: hosted- version: "6.0.14"+ version: "6.0.17"url_launcher_ios:dependency: transitivedescription:name: url_launcher_iosurl: "https://pub.dartlang.org"source: hosted- version: "6.0.14"+ version: "6.0.17"url_launcher_linux:dependency: transitivedescription:name: url_launcher_linuxurl: "https://pub.dartlang.org"source: hosted- version: "2.0.2"+ version: "3.0.1"url_launcher_macos:dependency: transitivedescription:name: url_launcher_macosurl: "https://pub.dartlang.org"source: hosted- version: "2.0.2"+ version: "3.0.1"url_launcher_platform_interface:dependency: transitivedescription:@@ -1273,56 +1280,70 @@ packages:name: url_launcher_weburl: "https://pub.dartlang.org"source: hosted- version: "2.0.6"+ version: "2.0.11"url_launcher_windows:dependency: transitivedescription:name: url_launcher_windowsurl: "https://pub.dartlang.org"source: hosted- version: "2.0.2"+ version: "3.0.1"uuid:dependency: transitivedescription:name: uuidurl: "https://pub.dartlang.org"source: hosted- version: "3.0.5"+ version: "3.0.6"vector_math:dependency: transitivedescription:name: vector_mathurl: "https://pub.dartlang.org"source: hosted- version: "2.1.1"+ version: "2.1.2"video_player:dependency: transitivedescription:name: video_playerurl: "https://pub.dartlang.org"source: hosted- version: "2.2.11"+ version: "2.4.2"+ video_player_android:+ dependency: transitive+ description:+ name: video_player_android+ url: "https://pub.dartlang.org"+ source: hosted+ version: "2.3.4"+ video_player_avfoundation:+ dependency: transitive+ description:+ name: video_player_avfoundation+ url: "https://pub.dartlang.org"+ source: hosted+ version: "2.3.4"video_player_platform_interface:dependency: transitivedescription:name: video_player_platform_interfaceurl: "https://pub.dartlang.org"source: hosted- version: "5.0.1"+ version: "5.1.2"video_player_web:dependency: transitivedescription:name: video_player_weburl: "https://pub.dartlang.org"source: hosted- version: "2.0.6"+ version: "2.0.10"vm_service:dependency: transitivedescription:name: vm_serviceurl: "https://pub.dartlang.org"source: hosted- version: "7.5.0"+ version: "8.3.0"watcher:dependency: transitivedescription:@@ -1336,21 +1357,21 @@ packages:name: web_socket_channelurl: "https://pub.dartlang.org"source: hosted- version: "2.1.0"+ version: "2.2.0"webkit_inspection_protocol:dependency: transitivedescription:name: webkit_inspection_protocolurl: "https://pub.dartlang.org"source: hosted- version: "1.0.0"+ version: "1.1.0"win32:dependency: transitivedescription:name: win32url: "https://pub.dartlang.org"source: hosted- version: "2.3.6"+ version: "2.6.1"window_size:dependency: "direct main"description:@@ -1366,28 +1387,28 @@ packages:name: xdg_directoriesurl: "https://pub.dartlang.org"source: hosted- version: "0.2.0"+ version: "0.2.0+1"xml:dependency: transitivedescription:name: xmlurl: "https://pub.dartlang.org"source: hosted- version: "5.3.1"+ version: "5.4.1"yaml:dependency: transitivedescription:name: yamlurl: "https://pub.dartlang.org"source: hosted- version: "3.1.0"+ version: "3.1.1"youtube_player_flutter:dependency: transitivedescription:name: youtube_player_flutterurl: "https://pub.dartlang.org"source: hosted- version: "8.0.0"+ version: "8.1.0"sdks:- dart: ">=2.15.0-116.0.dev <3.0.0"- flutter: ">=2.5.0"+ dart: ">=2.17.1 <3.0.0"+ flutter: ">=3.0.0"diff --git a/frontend/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yamlindex fd2b75b9e0..f06eedf614 100644--- a/frontend/app_flowy/pubspec.yaml+++ b/frontend/app_flowy/pubspec.yaml@@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:- sdk: ">=2.15.0-116.0.dev <3.0.0"+ sdk: ">=2.17.1 <3.0.0"# Dependencies specify other packages that your package needs in order to work.# To automatically upgrade your package dependencies to the latest versions@@ -40,7 +40,7 @@ dependencies:flutter_quill:git:url: https://github.com/appflowy/flutter-quill.git- ref: dbc309f5e382963fa0122409a0aaf8e1417d51c1+ ref: 306fd78b7a134abdde0fed6be67f59e8a6068509# third party packagesintl: ^0.17.0@@ -74,7 +74,7 @@ dependencies:device_info_plus: ^3.2.1fluttertoast: ^8.0.8table_calendar: ^3.0.5- reorderables:+ reorderables: ^0.5.0linked_scroll_controller: ^0.2.0dev_dependencies: