From a3b67ef1270237948073c217eddf6f144f05449c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Aug 2025 15:24:48 +0000 Subject: [PATCH 1/2] Update dependency flutter_lints to v6 --- example/pubspec.lock | 10 +++++----- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 7ea740b..d78de8c 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -81,10 +81,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493 + sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "6.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -118,10 +118,10 @@ packages: dependency: transitive description: name: lints - sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c + sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "6.0.0" matcher: dependency: transitive description: @@ -240,5 +240,5 @@ packages: source: hosted version: "15.0.2" sdks: - dart: ">=3.8.0-0 <4.0.0" + dart: ">=3.8.0 <4.0.0" flutter: ">=3.18.0-18.0.pre.54" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1284227..817ca66 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -40,7 +40,7 @@ dev_dependencies: # 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: ^1.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/pubspec.yaml b/pubspec.yaml index 0a355a4..9d56f72 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.1 + flutter_lints: ^6.0.0 mockito: ^5.3.1 build_runner: ^2.2.1 From b75a9ccfca787a08e5bffddbdbc740ce8960d43e Mon Sep 17 00:00:00 2001 From: Angelo Cassano Date: Mon, 25 Aug 2025 17:26:57 +0200 Subject: [PATCH 2/2] Fixed build --- example/lib/main.dart | 2 +- lib/disks_desktop.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 0818abd..285be53 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -32,7 +32,7 @@ void main() { } class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + const MyApp({super.key}); @override Widget build(BuildContext context) => Provider( diff --git a/lib/disks_desktop.dart b/lib/disks_desktop.dart index a8cd86d..c30b377 100644 --- a/lib/disks_desktop.dart +++ b/lib/disks_desktop.dart @@ -23,7 +23,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -library disks; +library; export 'src/exceptions/unsupported_platform_exception.dart'; export 'src/models/disk.dart';