code formatting (#85783)

This commit is contained in:
Alexandre Ardhuin
2021-07-08 08:06:05 +02:00
committed by GitHub
parent f3aa51bd9e
commit 80990c21e2
52 changed files with 99 additions and 106 deletions

View File

@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:macrobenchmarks/src/web/bench_paths_recording.dart'
as recording;
import 'package:macrobenchmarks/src/web/bench_paths_recording.dart' as recording;
import 'package:macrobenchmarks/src/web/recorder.dart';
/// Measure the performance of path construction.

View File

@@ -4,11 +4,9 @@
// @dart = 2.8
import 'package:flutter_devicelab/framework/devices.dart'
show DeviceOperatingSystem;
import 'package:flutter_devicelab/framework/devices.dart' show DeviceOperatingSystem;
import 'package:flutter_devicelab/framework/framework.dart' show task;
import 'package:flutter_devicelab/tasks/platform_channels_benchmarks.dart'
as platform_channels_benchmarks;
import 'package:flutter_devicelab/tasks/platform_channels_benchmarks.dart' as platform_channels_benchmarks;
Future<void> main() async {
await task(

View File

@@ -4,11 +4,9 @@
// @dart = 2.8
import 'package:flutter_devicelab/framework/devices.dart'
show DeviceOperatingSystem;
import 'package:flutter_devicelab/framework/devices.dart' show DeviceOperatingSystem;
import 'package:flutter_devicelab/framework/framework.dart' show task;
import 'package:flutter_devicelab/tasks/platform_channels_benchmarks.dart'
as platform_channels_benchmarks;
import 'package:flutter_devicelab/tasks/platform_channels_benchmarks.dart' as platform_channels_benchmarks;
Future<void> main() async {
await task(platform_channels_benchmarks.runTask(DeviceOperatingSystem.ios));

View File

@@ -19,7 +19,7 @@ import 'constants.dart';
/// See also:
///
/// * [AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo)
class AndroidSemanticsNode {
class AndroidSemanticsNode {
AndroidSemanticsNode._(this._values);
/// Deserializes a new [AndroidSemanticsNode] from a json map.

View File

@@ -60,4 +60,4 @@ class FakeHttpClientResponse extends Fake implements HttpClientResponse {
}
}
class FakeHttpHeaders extends Fake implements HttpHeaders {}
class FakeHttpHeaders extends Fake implements HttpHeaders { }