Bump flutter_lints to 3.0 (#136841)

Follow-up to https://github.com/flutter/packages/pull/5177
This commit is contained in:
Michael Goderbauer 2023-10-18 16:53:08 -07:00 committed by GitHub
parent 2492242593
commit 571039f6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
flutter:
uses-material-design: true
@ -80,7 +80,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: ^2.0.0
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

View File

@ -31,7 +31,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

View File

@ -14,7 +14,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

View File

@ -15,5 +15,5 @@ dependencies:
dev_dependencies:
ffi: ^2.0.2
ffigen: ^9.0.0
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
test: ^1.21.0

View File

@ -23,7 +23,7 @@ dev_dependencies:
{{/withFfi}}
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

View File

@ -19,7 +19,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
flutter:
uses-material-design: true

View File

@ -17,7 +17,7 @@ class NoConstructor extends StatelessWidget {
class NoConstConstructor extends StatelessWidget {
// LINT: Missing const constructor generates prefer_const_constructors_in_immutables warning.
NoConstConstructor({Key? key, required this.name }) : super(key: key);
NoConstConstructor({super.key, required this.name });
final String name;