Unverified Commit 571039f6 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Bump flutter_lints to 3.0 (#136841)

Follow-up to https://github.com/flutter/packages/pull/5177
parent 24922425
...@@ -14,7 +14,7 @@ dependencies: ...@@ -14,7 +14,7 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
flutter: flutter:
uses-material-design: true uses-material-design: true
...@@ -80,7 +80,7 @@ dev_dependencies: ...@@ -80,7 +80,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your # activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint # package. See that file for information about deactivating specific lint
# rules and activating additional ones. # 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 # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec
......
...@@ -31,7 +31,7 @@ dependencies: ...@@ -31,7 +31,7 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec
......
...@@ -14,7 +14,7 @@ dependencies: ...@@ -14,7 +14,7 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec
......
...@@ -15,5 +15,5 @@ dependencies: ...@@ -15,5 +15,5 @@ dependencies:
dev_dependencies: dev_dependencies:
ffi: ^2.0.2 ffi: ^2.0.2
ffigen: ^9.0.0 ffigen: ^9.0.0
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
test: ^1.21.0 test: ^1.21.0
...@@ -23,7 +23,7 @@ dev_dependencies: ...@@ -23,7 +23,7 @@ dev_dependencies:
{{/withFfi}} {{/withFfi}}
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec
......
...@@ -19,7 +19,7 @@ dev_dependencies: ...@@ -19,7 +19,7 @@ dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.0
flutter: flutter:
uses-material-design: true uses-material-design: true
......
...@@ -17,7 +17,7 @@ class NoConstructor extends StatelessWidget { ...@@ -17,7 +17,7 @@ class NoConstructor extends StatelessWidget {
class NoConstConstructor extends StatelessWidget { class NoConstConstructor extends StatelessWidget {
// LINT: Missing const constructor generates prefer_const_constructors_in_immutables warning. // 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; final String name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment