Skip to content

Commit

Permalink
Upgrade to Flutter ^3.22.0, Dart ^3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed May 21, 2024
1 parent b51b50b commit 587a08a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
include:
- flutter-channel: stable
- flutter-channel: beta
- flutter-version: 3.16.0
- flutter-version: 3.22.0
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:
include:
- flutter-channel: stable
- flutter-channel: beta
- flutter-version: 3.16.0
- flutter-version: 3.22.0
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -579,5 +579,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.3.0-0 <4.0.0"
flutter: ">=3.16.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.22.0"
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: swipeable_page_route_example
publish_to: none

environment:
sdk: '>=3.2.0 <4.0.0'
flutter: '>=3.16.0'
sdk: ^3.4.0
flutter: ^3.22.0

dependencies:
flutter:
Expand Down
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
};
};

flutter = pkgs.flutterPackages.v3_22;

# Android
androidSdkArgs = {
buildToolsVersions = [ "30.0.3" ];
Expand Down Expand Up @@ -44,8 +46,8 @@
devShell = with pkgs;
mkShell {
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk";
FLUTTER_ROOT = flutterPackages.v3_19;
buildInputs = [ androidEmulator androidSdk flutterPackages.v3_19 ];
FLUTTER_ROOT = flutter;
buildInputs = [ androidEmulator androidSdk flutter ];
};
});
}
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ screenshots:
path: doc/demo.gif

environment:
sdk: '>=3.2.0 <4.0.0'
flutter: '>=3.16.0'
sdk: ^3.4.0
flutter: ^3.22.0

dependencies:
black_hole_flutter: ^1.0.3
Expand Down

0 comments on commit 587a08a

Please sign in to comment.