flutter: Upgrade to the latest versions of all the dependencies

Major changes:
* devicelocale: Update Android code to remove deprecation warning
* flutter_colorpicker: Fix the scroll problem in platform web and desktop.
* Deactivate build_runner before activating build_runner
This commit is contained in:
Calcitem 2021-11-13 11:10:43 +08:00
parent 4b4d01e356
commit de9620a55c
2 changed files with 18 additions and 16 deletions

View File

@ -24,5 +24,6 @@ mkdir -p "$ENV_FILE_PATH" || true
touch "$ENV_FILE"
export >"$ENV_FILE"
flutter pub global deactivate build_runner
flutter pub global activate build_runner
flutter pub run build_runner build --delete-conflicting-outputs

View File

@ -9,17 +9,17 @@ environment:
dependencies:
animated_text_kit: ^4.1.1
catcher: ^0.6.8
catcher: ^0.6.9
copy_with_extension: ^2.0.2
cupertino_icons: ^1.0.3
device_info_plus_platform_interface: ^2.1.0
devicelocale: ^0.4.3
cupertino_icons: ^1.0.4
device_info_plus_platform_interface: ^2.2.1
devicelocale: ^0.5.0
double_back_to_close_app: ^2.0.1
feedback: ^2.2.0
fluentui_system_icons: ^1.1.140
fluentui_system_icons: ^1.1.149
flutter:
sdk: flutter
flutter_colorpicker: ^0.6.0
flutter_colorpicker: ^1.0.0
flutter_email_sender: ^5.0.2
flutter_localizations:
sdk: flutter
@ -32,29 +32,30 @@ dependencies:
#localization
intl: ^0.17.0
package_info_plus: ^1.0.6
path_provider: ^2.0.5
json_annotation: ^4.3.0
package_info_plus: ^1.3.0
path_provider: ^2.0.6
provider: ^6.0.1
soundpool: ^2.2.0
stack_trace: ^1.10.0
url_launcher: ^6.0.11
uuid: ^3.0.4
url_launcher: ^6.0.12
uuid: ^3.0.5
#pref: ^2.3.0
#screen_recorder: ^0.0.2
dev_dependencies:
build_runner: ^2.1.4
build_runner: ^2.1.5
copy_with_extension_gen: ^2.0.3
flutter_gen_runner: ^4.0.0
flutter_gen_runner: ^4.1.2
flutter_test:
sdk: flutter
hive_generator: ^1.1.0
hive_generator: ^1.1.1
json_serializable: ^5.0.2
json_serializable: ^6.0.1
lint: ^1.7.2
msix: ^2.1.3
source_gen: ^1.1.0
msix: ^2.6.2
source_gen: ^1.1.1
flutter_gen:
output: lib/generated/assets/