Skip to content

Commit 6fd6d10

Browse files
committed
bump min Flutter to 3.27.0
1 parent 3b95a65 commit 6fd6d10

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

Diff for: CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## Unreleased
2+
3+
- Dependencies update (#990)
4+
- **Bump minimum Flutter to 3.27**
5+
- Update leancode_lint and fix all new warnings
6+
- Bump Gradle to 8.8
7+
- Bump Kotlin to 2.1.0
8+
19
## 1.11.8
210

311
- Allow nullable Content-Yype (#966)

Diff for: android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ buildscript {
99
}
1010

1111
dependencies {
12-
classpath "com.android.tools.build:gradle:7.4.2"
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
14-
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.5.0"
12+
classpath "com.android.tools.build:gradle:8.8.0"
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
14+
classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.2"
1515
}
1616
}
1717

Diff for: lib/flutter_downloader.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
///
1010
/// * author: hunghd
1111
/// * email: [email protected]
12-
13-
library flutter_downloader;
12+
library;
1413

1514
export 'src/downloader.dart';
1615
export 'src/exceptions.dart';

Diff for: lib/src/downloader.dart

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// In some cases, it's hard to get around calls on 'dynamic'.
12
// ignore_for_file: avoid_dynamic_calls
23

34
import 'dart:async';
@@ -438,6 +439,7 @@ class FlutterDownloader {
438439
/// Prints [message] to console if [_debug] is true.
439440
static void _log(String? message) {
440441
if (_debug) {
442+
// Using print here seeems good enough.
441443
// ignore: avoid_print
442444
print(message);
443445
}

Diff for: pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ flutter:
1515
pluginClass: FlutterDownloaderPlugin
1616

1717
environment:
18-
sdk: ">=3.3.0 <4.0.0"
19-
flutter: ">=3.19.0"
18+
sdk: ">=3.6.0 <4.0.0"
19+
flutter: ">=3.27.0"
2020

2121
dependencies:
2222
flutter:
@@ -25,4 +25,4 @@ dependencies:
2525
dev_dependencies:
2626
flutter_test:
2727
sdk: flutter
28-
leancode_lint: ^12.1.0
28+
leancode_lint: ^15.0.0

0 commit comments

Comments
 (0)