From c80b9f11ac6202713d1cfb4747e8de938515cfe4 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Mon, 18 Jul 2022 15:44:53 +0200 Subject: [PATCH] Update to flutter 3.0 Closes #196 --- .github/workflows/android-release.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/linter.yml | 2 +- README.md | 2 +- pubspec.yaml | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 793d3d56..1aac6143 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -25,7 +25,7 @@ jobs: uses: subosito/flutter-action@v1 with: channel: 'stable' - flutter-version: '2.10.x' + flutter-version: '3.0.x' - name: Decrypt config files run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fbbace5..8e7e2894 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: uses: subosito/flutter-action@v1 with: channel: 'stable' - flutter-version: '2.10.x' + flutter-version: '3.0.x' - run: dart --version - run: flutter --version diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index b23cc003..4cba8fe1 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,7 +20,7 @@ jobs: uses: subosito/flutter-action@v1 with: channel: 'stable' - flutter-version: '2.10.x' + flutter-version: '3.0.x' - name: Get dependencies run: flutter pub get diff --git a/README.md b/README.md index 293740c6..820a29d6 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Alternatively, you can use one of our test servers, just ask us for access. Install Flutter, and all its dependencies, and create a new virtual device: . -The app currently uses flutter 2.10 +The app currently uses flutter 3.0 ### 3 Create a new file ``wger.properties`` in ``android/fastlane/envfiles``: diff --git a/pubspec.yaml b/pubspec.yaml index cee32f8c..98495bf8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -39,7 +39,7 @@ dependencies: equatable: ^2.0.3 flutter_calendar_carousel: ^2.3.1 flutter_html: ^2.1.2 - flutter_typeahead: ^3.2.5 + flutter_typeahead: ^4.0.0 font_awesome_flutter: ">=9.1.0 <11.0.0" http: ^0.13.3 image_picker: ^0.8.4+9 @@ -65,7 +65,7 @@ dev_dependencies: json_serializable: ^6.3.1 mockito: ^5.2.0 network_image_mock: ^2.1.1 - flutter_lints: ^1.0.4 + flutter_lints: ^2.0.1 cider: ^0.1.1 flutter_icons: