Skip to content

Commit 018f75d

Browse files
Update dependency flutter_lints to v6 (#14)
* Update dependency flutter_lints to v6 * Fixed build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Angelo Cassano <[email protected]>
1 parent f0a1762 commit 018f75d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void main() {
3232
}
3333

3434
class MyApp extends StatelessWidget {
35-
const MyApp({Key? key}) : super(key: key);
35+
const MyApp({super.key});
3636

3737
@override
3838
Widget build(BuildContext context) => Provider(

example/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ packages:
8181
dependency: "direct dev"
8282
description:
8383
name: flutter_lints
84-
sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493
84+
sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1"
8585
url: "https://pub.dev"
8686
source: hosted
87-
version: "1.0.4"
87+
version: "6.0.0"
8888
flutter_test:
8989
dependency: "direct dev"
9090
description: flutter
@@ -118,10 +118,10 @@ packages:
118118
dependency: transitive
119119
description:
120120
name: lints
121-
sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c
121+
sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0
122122
url: "https://pub.dev"
123123
source: hosted
124-
version: "1.0.1"
124+
version: "6.0.0"
125125
matcher:
126126
dependency: transitive
127127
description:
@@ -240,5 +240,5 @@ packages:
240240
source: hosted
241241
version: "15.0.2"
242242
sdks:
243-
dart: ">=3.8.0-0 <4.0.0"
243+
dart: ">=3.8.0 <4.0.0"
244244
flutter: ">=3.18.0-18.0.pre.54"

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dev_dependencies:
4040
# activated in the `analysis_options.yaml` file located at the root of your
4141
# package. See that file for information about deactivating specific lint
4242
# rules and activating additional ones.
43-
flutter_lints: ^1.0.0
43+
flutter_lints: ^6.0.0
4444

4545
# For information on the generic Dart part of this file, see the
4646
# following page: https://dart.dev/tools/pub/pubspec

lib/disks_desktop.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* OTHER DEALINGS IN THE SOFTWARE.
2424
*/
2525

26-
library disks;
26+
library;
2727

2828
export 'src/exceptions/unsupported_platform_exception.dart';
2929
export 'src/models/disk.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
20-
flutter_lints: ^2.0.1
20+
flutter_lints: ^6.0.0
2121
mockito: ^5.3.1
2222
build_runner: ^2.2.1
2323

0 commit comments

Comments
 (0)