Skip to content

Commit

Permalink
Modified min Dart SDK to 3.4.0
Browse files Browse the repository at this point in the history
Changed flutter_lints dependency to a wider range, to avoid forcing Dart 3.5.0 based in lints only
  • Loading branch information
781flyingdutchman committed Jan 14, 2025
1 parent 6a6f1ea commit 74f3c1e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ concurrency:
cancel-in-progress: true

env:
# This is Dart 3.5.0
FLUTTER_MIN_SDK: '3.24.0'
# Min Flutter version implies Dart 3.3.0
FLUTTER_MIN_SDK: '3.19.0'

jobs:
format:
Expand Down
11 changes: 3 additions & 8 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ version: 2.0.0
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ^3.0.0
sdk: ^3.3.0
flutter: '>=3.19.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down Expand Up @@ -42,13 +43,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter

# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^3.0.1
flutter_lints: '>=4.0.0 <6.0.0'

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version: 8.9.1
repository: https://github.com/781flyingdutchman/background_downloader

environment:
sdk: ^3.3.0
flutter: '>=3.0.0'
sdk: ^3.4.0
flutter: '>=3.22.0'

dependencies:
flutter:
Expand All @@ -22,7 +22,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter_lints: '>=4.0.0 <6.0.0'
mockito: ^5.0.17
build_runner: ^2.4.13

Expand Down

0 comments on commit 74f3c1e

Please sign in to comment.