fix indentation of class members (#84293)

This commit is contained in:
Alexandre Ardhuin
2021-06-10 20:29:03 +02:00
committed by GitHub
parent 04933efb43
commit 2c998d8be7
5 changed files with 16 additions and 15 deletions

View File

@@ -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 {

View File

@@ -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,

View File

@@ -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)';

View File

@@ -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,

View File

@@ -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');
}
}