Unverified Commit 2c998d8b authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

fix indentation of class members (#84293)

parent 04933efb
...@@ -344,15 +344,15 @@ class FuchsiaDeviceDiscovery implements DeviceDiscovery { ...@@ -344,15 +344,15 @@ class FuchsiaDeviceDiscovery implements DeviceDiscovery {
static FuchsiaDeviceDiscovery _instance; static FuchsiaDeviceDiscovery _instance;
FuchsiaDevice _workingDevice; FuchsiaDevice _workingDevice;
String get _ffx { String get _ffx {
final String ffx = path.join(getArtifactPath(), 'fuchsia', 'tools','x64', 'ffx'); final String ffx = path.join(getArtifactPath(), 'fuchsia', 'tools','x64', 'ffx');
if (!File(ffx).existsSync()) { if (!File(ffx).existsSync()) {
throw FileSystemException("Couldn't find ffx at location $ffx"); throw FileSystemException("Couldn't find ffx at location $ffx");
} }
return ffx; return ffx;
} }
@override @override
Future<FuchsiaDevice> get workingDevice async { Future<FuchsiaDevice> get workingDevice async {
......
...@@ -9,8 +9,8 @@ import 'dart:io'; ...@@ -9,8 +9,8 @@ import 'dart:io';
/// A result of running a single task. /// A result of running a single task.
class TaskResult { class TaskResult {
TaskResult.buildOnly() TaskResult.buildOnly()
: succeeded = true, : succeeded = true,
data = null, data = null,
detailFiles = null, detailFiles = null,
benchmarkScoreKeys = null, benchmarkScoreKeys = null,
......
...@@ -60,11 +60,11 @@ class ScaleStartDetails { ...@@ -60,11 +60,11 @@ class ScaleStartDetails {
/// coordinates. /// coordinates.
final Offset localFocalPoint; final Offset localFocalPoint;
/// The number of pointers being tracked by the gesture recognizer. /// 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 /// Typically this is the number of fingers being used to pan the widget using the gesture
/// recognizer. /// recognizer.
final int pointerCount; final int pointerCount;
@override @override
String toString() => 'ScaleStartDetails(focalPoint: $focalPoint, localFocalPoint: $localFocalPoint, pointersCount: $pointerCount)'; String toString() => 'ScaleStartDetails(focalPoint: $focalPoint, localFocalPoint: $localFocalPoint, pointersCount: $pointerCount)';
......
...@@ -462,7 +462,8 @@ void main() { ...@@ -462,7 +462,8 @@ void main() {
} }
class TestDeviceManager extends DeviceManager { class TestDeviceManager extends DeviceManager {
TestDeviceManager(List<Device> allDevices, { TestDeviceManager(
List<Device> allDevices, {
List<DeviceDiscovery> deviceDiscoveryOverrides, List<DeviceDiscovery> deviceDiscoveryOverrides,
@required Logger logger, @required Logger logger,
@required Terminal terminal, @required Terminal terminal,
......
...@@ -236,8 +236,8 @@ class FakeOperatingSystemUtils extends Fake implements OperatingSystemUtils { ...@@ -236,8 +236,8 @@ class FakeOperatingSystemUtils extends Fake implements OperatingSystemUtils {
} }
class FakeThrowingFlutterVersion extends FakeFlutterVersion { class FakeThrowingFlutterVersion extends FakeFlutterVersion {
@override @override
String get frameworkCommitDate { String get frameworkCommitDate {
throw VersionCheckError('version error'); throw VersionCheckError('version error');
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment