diff --git a/.github/workflows/prepare.yaml b/.github/workflows/prepare.yaml index 89b081e9..c180a99d 100644 --- a/.github/workflows/prepare.yaml +++ b/.github/workflows/prepare.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - flutter-version: ["3.19.x"] + flutter-version: ["3.10.x", "3.13.x", "3.16.x", "3.19.x"] steps: - name: Clone repository diff --git a/example/lib/data.dart b/example/lib/data.dart index 05b33ecd..45f266f7 100644 --- a/example/lib/data.dart +++ b/example/lib/data.dart @@ -53,7 +53,7 @@ class DownloadItems { name: 'Spitfire', url: 'https://github.com/bartekpacia/spitfire/releases/download/v1.2.0/spitfire.apk', - ) + ), ]; } diff --git a/example/lib/download_list_item.dart b/example/lib/download_list_item.dart index 9c7d9c48..c0ae7cc0 100644 --- a/example/lib/download_list_item.dart +++ b/example/lib/download_list_item.dart @@ -66,7 +66,7 @@ class DownloadListItem extends StatelessWidget { constraints: const BoxConstraints(minHeight: 32, minWidth: 32), icon: const Icon(Icons.delete), tooltip: 'Delete', - ) + ), ], ); } else if (task.status == DownloadTaskStatus.canceled) { @@ -81,7 +81,7 @@ class DownloadListItem extends StatelessWidget { constraints: const BoxConstraints(minHeight: 32, minWidth: 32), icon: const Icon(Icons.cancel), tooltip: 'Cancel', - ) + ), ], ); } else if (task.status == DownloadTaskStatus.failed) { @@ -95,7 +95,7 @@ class DownloadListItem extends StatelessWidget { constraints: const BoxConstraints(minHeight: 32, minWidth: 32), icon: const Icon(Icons.refresh, color: Colors.green), tooltip: 'Refresh', - ) + ), ], ); } else if (task.status == DownloadTaskStatus.enqueued) { @@ -147,7 +147,7 @@ class DownloadListItem extends StatelessWidget { child: LinearProgressIndicator( value: data!.task!.progress! / 100, ), - ) + ), ], ), ), diff --git a/example/lib/home_page.dart b/example/lib/home_page.dart index f76cd305..118502f4 100644 --- a/example/lib/home_page.dart +++ b/example/lib/home_page.dart @@ -192,7 +192,7 @@ class _MyHomePageState extends State { fontSize: 20, ), ), - ) + ), ], ), ); @@ -391,7 +391,7 @@ class _MyHomePageState extends State { ), ), ], - ) + ), ], ), body: Builder( diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1d011495..243be104 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,23 +4,23 @@ version: 1.0.0+1 publish_to: none environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: android_path_provider: ^0.3.0 - device_info_plus: ^8.0.0 + device_info_plus: ^8.2.2 flutter: sdk: flutter flutter_downloader: path: ../ - path_provider: ^2.0.11 - permission_handler: ^10.0.0 + path_provider: ^2.1.2 + permission_handler: ^11.3.1 dev_dependencies: flutter_test: sdk: flutter - leancode_lint: ^4.0.0+2 + leancode_lint: ^12.0.0 flutter: uses-material-design: true diff --git a/pubspec.yaml b/pubspec.yaml index 807d16d7..4813ebd6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,4 +25,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - leancode_lint: ^4.0.0+2 + leancode_lint: ^12.0.0