fix indentation of class members (#84293)
This commit is contained in:
committed by
GitHub
parent
04933efb43
commit
2c998d8be7
@@ -344,15 +344,15 @@ class FuchsiaDeviceDiscovery implements DeviceDiscovery {
|
||||
|
||||
static FuchsiaDeviceDiscovery _instance;
|
||||
|
||||
FuchsiaDevice _workingDevice;
|
||||
FuchsiaDevice _workingDevice;
|
||||
|
||||
String get _ffx {
|
||||
String get _ffx {
|
||||
final String ffx = path.join(getArtifactPath(), 'fuchsia', 'tools','x64', 'ffx');
|
||||
if (!File(ffx).existsSync()) {
|
||||
throw FileSystemException("Couldn't find ffx at location $ffx");
|
||||
}
|
||||
return ffx;
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<FuchsiaDevice> get workingDevice async {
|
||||
|
||||
@@ -9,8 +9,8 @@ import 'dart:io';
|
||||
|
||||
/// A result of running a single task.
|
||||
class TaskResult {
|
||||
TaskResult.buildOnly()
|
||||
: succeeded = true,
|
||||
TaskResult.buildOnly()
|
||||
: succeeded = true,
|
||||
data = null,
|
||||
detailFiles = null,
|
||||
benchmarkScoreKeys = null,
|
||||
|
||||
@@ -60,11 +60,11 @@ class ScaleStartDetails {
|
||||
/// coordinates.
|
||||
final Offset localFocalPoint;
|
||||
|
||||
/// The number of pointers being tracked by the gesture recognizer.
|
||||
///
|
||||
/// Typically this is the number of fingers being used to pan the widget using the gesture
|
||||
/// recognizer.
|
||||
final int pointerCount;
|
||||
/// The number of pointers being tracked by the gesture recognizer.
|
||||
///
|
||||
/// Typically this is the number of fingers being used to pan the widget using the gesture
|
||||
/// recognizer.
|
||||
final int pointerCount;
|
||||
|
||||
@override
|
||||
String toString() => 'ScaleStartDetails(focalPoint: $focalPoint, localFocalPoint: $localFocalPoint, pointersCount: $pointerCount)';
|
||||
|
||||
@@ -462,7 +462,8 @@ void main() {
|
||||
}
|
||||
|
||||
class TestDeviceManager extends DeviceManager {
|
||||
TestDeviceManager(List<Device> allDevices, {
|
||||
TestDeviceManager(
|
||||
List<Device> allDevices, {
|
||||
List<DeviceDiscovery> deviceDiscoveryOverrides,
|
||||
@required Logger logger,
|
||||
@required Terminal terminal,
|
||||
|
||||
@@ -236,8 +236,8 @@ class FakeOperatingSystemUtils extends Fake implements OperatingSystemUtils {
|
||||
}
|
||||
|
||||
class FakeThrowingFlutterVersion extends FakeFlutterVersion {
|
||||
@override
|
||||
String get frameworkCommitDate {
|
||||
throw VersionCheckError('version error');
|
||||
}
|
||||
@override
|
||||
String get frameworkCommitDate {
|
||||
throw VersionCheckError('version error');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user