prepare for lint update of prefer_final_fields (#35059)
This commit is contained in:
committed by
GitHub
parent
2cf8213468
commit
c7408be181
@@ -30,7 +30,7 @@ class AndroidEmulator extends Emulator {
|
||||
AndroidEmulator(String id, [this._properties])
|
||||
: super(id, _properties != null && _properties.isNotEmpty);
|
||||
|
||||
Map<String, String> _properties;
|
||||
final Map<String, String> _properties;
|
||||
|
||||
// Android Studio uses the ID with underscores replaced with spaces
|
||||
// for the name if displayname is not set so we do the same.
|
||||
|
||||
@@ -260,7 +260,7 @@ class LocalEngineArtifacts extends Artifacts {
|
||||
|
||||
final String _engineSrcPath;
|
||||
final String engineOutPath; // TODO(goderbauer): This should be private.
|
||||
String _hostEngineOutPath;
|
||||
final String _hostEngineOutPath;
|
||||
|
||||
@override
|
||||
String getArtifactPath(Artifact artifact, { TargetPlatform platform, BuildMode mode }) {
|
||||
|
||||
@@ -450,8 +450,8 @@ class ResidentCompiler {
|
||||
String _sdkRoot;
|
||||
Process _server;
|
||||
final StdoutHandler _stdoutHandler;
|
||||
String _initializeFromDill;
|
||||
bool _unsafePackageSerialization;
|
||||
final String _initializeFromDill;
|
||||
final bool _unsafePackageSerialization;
|
||||
final List<String> _experimentalFlags;
|
||||
bool _compileRequestNeedsConfirmation = false;
|
||||
|
||||
|
||||
@@ -369,7 +369,7 @@ class DevFS {
|
||||
final _DevFSHttpWriter _httpWriter;
|
||||
final String fsName;
|
||||
final Directory rootDirectory;
|
||||
String _packagesFilePath;
|
||||
final String _packagesFilePath;
|
||||
final Set<String> assetPathsToEvict = <String>{};
|
||||
List<Uri> sources = <Uri>[];
|
||||
DateTime lastCompiled;
|
||||
|
||||
@@ -59,8 +59,8 @@ class _FuchsiaLogReader extends DeviceLogReader {
|
||||
// \S matches non-whitespace characters.
|
||||
static final RegExp _flutterLogOutput = RegExp(r'INFO: \S+\(flutter\): ');
|
||||
|
||||
FuchsiaDevice _device;
|
||||
ApplicationPackage _app;
|
||||
final FuchsiaDevice _device;
|
||||
final ApplicationPackage _app;
|
||||
|
||||
@override
|
||||
String get name => _device.name;
|
||||
|
||||
Reference in New Issue
Block a user