diff --git a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl index 8e9a7d66fb0..0ad5fb0a8e7 100644 --- a/packages/flutter_tools/templates/app/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/app/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl b/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl index 4606b8bd4dc..c5bc5bafb4b 100644 --- a/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/module/common/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl index 8a3a42b444e..ac5482c22df 100644 --- a/packages/flutter_tools/templates/package/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/package/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl b/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl index d9ef78c86db..9f0de92b191 100644 --- a/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl index c8d9bbf05af..1659f7f6218 100644 --- a/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/plugin_shared/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/templates/skeleton/pubspec.yaml.tmpl b/packages/flutter_tools/templates/skeleton/pubspec.yaml.tmpl index 1f13c8ac188..f662a40beb2 100644 --- a/packages/flutter_tools/templates/skeleton/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/skeleton/pubspec.yaml.tmpl @@ -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 diff --git a/packages/flutter_tools/test/commands.shard/permeable/data/to_analyze.dart.test b/packages/flutter_tools/test/commands.shard/permeable/data/to_analyze.dart.test index 1bec7f929ed..08bc1b0cbc5 100644 --- a/packages/flutter_tools/test/commands.shard/permeable/data/to_analyze.dart.test +++ b/packages/flutter_tools/test/commands.shard/permeable/data/to_analyze.dart.test @@ -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;