forked from firka/flutter
Sync lints (#126316)
Sync lints with https://github.com/dart-lang/linter/blob/master/example/all.yaml and enable `implicit_reopen` and `type_literal_in_constant_pattern` (which have no violations). Also contains some clean-up work towards enabling `matching_super_parameters`, which is not quite ready yet due to its handling of "private" arguments.
This commit is contained in:
committed by
GitHub
parent
0a63cd70f1
commit
42d9a2b3fa
@@ -21,7 +21,7 @@ import 'protocol_discovery.dart';
|
||||
/// A partial implementation of Device for desktop-class devices to inherit
|
||||
/// from, containing implementations that are common to all desktop devices.
|
||||
abstract class DesktopDevice extends Device {
|
||||
DesktopDevice(super.identifier, {
|
||||
DesktopDevice(super.id, {
|
||||
required PlatformType super.platformType,
|
||||
required super.ephemeral,
|
||||
required Logger logger,
|
||||
|
||||
@@ -15,7 +15,7 @@ import 'vmservice.dart';
|
||||
const String kFlutterTestOutputsDirEnvName = 'FLUTTER_TEST_OUTPUTS_DIR';
|
||||
class ColdRunner extends ResidentRunner {
|
||||
ColdRunner(
|
||||
super.devices, {
|
||||
super.flutterDevices, {
|
||||
required super.target,
|
||||
required super.debuggingOptions,
|
||||
this.traceStartup = false,
|
||||
|
||||
@@ -79,7 +79,7 @@ class DeviceReloadReport {
|
||||
|
||||
class HotRunner extends ResidentRunner {
|
||||
HotRunner(
|
||||
super.devices, {
|
||||
super.flutterDevices, {
|
||||
required super.target,
|
||||
required super.debuggingOptions,
|
||||
this.benchmarkMode = false,
|
||||
|
||||
@@ -44,7 +44,7 @@ class FlutterTesterApp extends ApplicationPackage {
|
||||
/// also be used as a regular device when `--show-test-device` is provided
|
||||
/// to the flutter command.
|
||||
class FlutterTesterDevice extends Device {
|
||||
FlutterTesterDevice(super.deviceId, {
|
||||
FlutterTesterDevice(super.id, {
|
||||
required ProcessManager processManager,
|
||||
required FlutterVersion flutterVersion,
|
||||
required Logger logger,
|
||||
|
||||
Reference in New Issue
Block a user