From d0a0211373afee59c7d12cf8e18e560fe0be973b Mon Sep 17 00:00:00 2001 From: Kenzie Schmoll Date: Thu, 24 Aug 2023 15:28:01 -0700 Subject: [PATCH] formatting --- packages/devtools_app_shared/example/ui/split_example.dart | 4 ++-- .../example/utils/auto_dispose_example.dart | 4 ++-- .../lib/src/service/eval_on_dart_library.dart | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/devtools_app_shared/example/ui/split_example.dart b/packages/devtools_app_shared/example/ui/split_example.dart index 0c671003732..9879878b479 100644 --- a/packages/devtools_app_shared/example/ui/split_example.dart +++ b/packages/devtools_app_shared/example/ui/split_example.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; /// Example of using the [Split] widget from /// 'package:devtools_app_shared/ui.dart' with two children laid across a /// horizontal axis. -/// +/// /// This example does not specify the [Split.splitters] parameter, so a /// default splitter is used. class SplitExample extends StatelessWidget { @@ -31,7 +31,7 @@ class SplitExample extends StatelessWidget { /// Example of using the [Split] widget from /// 'package:devtools_app_shared/ui.dart' with three children laid across a /// vertical axis. -/// +/// /// This example uses custom splitters. class MultiSplitExample extends StatelessWidget { const MultiSplitExample({super.key}); diff --git a/packages/devtools_app_shared/example/utils/auto_dispose_example.dart b/packages/devtools_app_shared/example/utils/auto_dispose_example.dart index 95943d6e113..9816f5237aa 100644 --- a/packages/devtools_app_shared/example/utils/auto_dispose_example.dart +++ b/packages/devtools_app_shared/example/utils/auto_dispose_example.dart @@ -70,10 +70,10 @@ class _MyStatefulWidgetState extends State } } -/// This is an example of a controller that uses the +/// This is an example of a controller that uses the /// [AutoDisposeControllerMixin] exposed by /// 'package:devtools_app_shared/utils.dart'. -/// +/// /// When [dispose] is called on this controller, any listeners or stream /// subscriptions added using the [AutoDisposeControllerMixin] will be disposed /// or canceled. diff --git a/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart b/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart index bea5d29816a..43b67536a6a 100644 --- a/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart +++ b/packages/devtools_app_shared/lib/src/service/eval_on_dart_library.dart @@ -399,8 +399,7 @@ class EvalOnDartLibrary extends DisposableController // start awaiting the event before starting the evaluation, in case the // event is received before the eval function completes. - final future = - serviceManager.service!.onExtensionEvent.firstWhere((event) { + final future = serviceManager.service!.onExtensionEvent.firstWhere((event) { return event.extensionKind == 'future_completed' && event.extensionData!.data['future_id'] == futureId && // Using `_clientId` here as if two chrome tabs open the devtool, it is