diff --git a/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart b/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart index 18c8912444..73432ff11a 100644 --- a/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart +++ b/dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart @@ -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. diff --git a/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart b/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart index 10b1112943..aad574e188 100644 --- a/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart +++ b/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart @@ -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 main() async { await task( diff --git a/dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart b/dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart index 9087d0ebf7..fb9608bbe2 100644 --- a/dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart +++ b/dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart @@ -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 main() async { await task(platform_channels_benchmarks.runTask(DeviceOperatingSystem.ios)); diff --git a/dev/integration_tests/android_semantics_testing/lib/src/common.dart b/dev/integration_tests/android_semantics_testing/lib/src/common.dart index b01c2fc8e5..2f4338d2ef 100644 --- a/dev/integration_tests/android_semantics_testing/lib/src/common.dart +++ b/dev/integration_tests/android_semantics_testing/lib/src/common.dart @@ -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. diff --git a/dev/manual_tests/test/mock_image_http.dart b/dev/manual_tests/test/mock_image_http.dart index 241a997995..be59ae2c18 100644 --- a/dev/manual_tests/test/mock_image_http.dart +++ b/dev/manual_tests/test/mock_image_http.dart @@ -60,4 +60,4 @@ class FakeHttpClientResponse extends Fake implements HttpClientResponse { } } -class FakeHttpHeaders extends Fake implements HttpHeaders {} +class FakeHttpHeaders extends Fake implements HttpHeaders { } diff --git a/packages/flutter/lib/src/cupertino/sliding_segmented_control.dart b/packages/flutter/lib/src/cupertino/sliding_segmented_control.dart index 030cd7fc4b..308bea803d 100644 --- a/packages/flutter/lib/src/cupertino/sliding_segmented_control.dart +++ b/packages/flutter/lib/src/cupertino/sliding_segmented_control.dart @@ -198,7 +198,7 @@ class _SegmentSeparator extends StatefulWidget { _SegmentSeparatorState createState() => _SegmentSeparatorState(); } -class _SegmentSeparatorState extends State<_SegmentSeparator> with TickerProviderStateMixin<_SegmentSeparator> { +class _SegmentSeparatorState extends State<_SegmentSeparator> with TickerProviderStateMixin<_SegmentSeparator> { late final AnimationController separatorOpacityController; @override @@ -735,7 +735,7 @@ class _SegmentedControlRenderWidget extends MultiChildRenderObjectWidget { } } -class _SegmentedControlContainerBoxParentData extends ContainerBoxParentData {} +class _SegmentedControlContainerBoxParentData extends ContainerBoxParentData { } // The behavior of a UISegmentedControl as observed on iOS 13.1: // diff --git a/packages/flutter/lib/src/gestures/events.dart b/packages/flutter/lib/src/gestures/events.dart index b4d6e4e397..6cd567d69a 100644 --- a/packages/flutter/lib/src/gestures/events.dart +++ b/packages/flutter/lib/src/gestures/events.dart @@ -651,7 +651,7 @@ mixin _PointerEventDescription on PointerEvent { } } -abstract class _AbstractPointerEvent implements PointerEvent {} +abstract class _AbstractPointerEvent implements PointerEvent { } // The base class for transformed pointer event classes. // diff --git a/packages/flutter/lib/src/gestures/scale.dart b/packages/flutter/lib/src/gestures/scale.dart index d5c50d122c..1afa5f4d2e 100644 --- a/packages/flutter/lib/src/gestures/scale.dart +++ b/packages/flutter/lib/src/gestures/scale.dart @@ -220,7 +220,7 @@ bool _isFlingGesture(Velocity velocity) { /// /// [_LineBetweenPointers] is an abstraction of a line between two pointers in /// contact with the screen. Used to track the rotation of a scale gesture. -class _LineBetweenPointers{ +class _LineBetweenPointers { /// Creates a [_LineBetweenPointers]. None of the [pointerStartLocation], [pointerStartId] /// [pointerEndLocation] and [pointerEndId] must be null. [pointerStartId] and [pointerEndId] diff --git a/packages/flutter/lib/src/material/outline_button.dart b/packages/flutter/lib/src/material/outline_button.dart index aa8a8cb074..82d2c4c1b7 100644 --- a/packages/flutter/lib/src/material/outline_button.dart +++ b/packages/flutter/lib/src/material/outline_button.dart @@ -496,7 +496,7 @@ class _OutlineButtonState extends State<_OutlineButton> with SingleTickerProvide // Render the button's outline border using using the OutlineButton's // border parameters and the button or buttonTheme's shape. -class _OutlineBorder extends ShapeBorder implements MaterialStateProperty{ +class _OutlineBorder extends ShapeBorder implements MaterialStateProperty { const _OutlineBorder({ required this.shape, required this.side, diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index 3519a96f40..c0d8dcbc11 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -58,7 +58,7 @@ enum TabBarIndicatorSize { /// * [TabBarView], which displays a widget for the currently selected tab. /// * [TabController], which coordinates tab selection between a [TabBar] and a [TabBarView]. /// * -class Tab extends StatelessWidget implements PreferredSizeWidget{ +class Tab extends StatelessWidget implements PreferredSizeWidget { /// Creates a material design [TabBar] tab. /// /// At least one of [text], [icon], and [child] must be non-null. The [text] diff --git a/packages/flutter/lib/src/material/toggleable.dart b/packages/flutter/lib/src/material/toggleable.dart index 5836cf9a02..6b5c7b3445 100644 --- a/packages/flutter/lib/src/material/toggleable.dart +++ b/packages/flutter/lib/src/material/toggleable.dart @@ -338,7 +338,7 @@ mixin ToggleableStateMixin on TickerProviderStateMixin /// Subclasses must implement the [paint] method to draw the actual visuals of /// the Toggleable. In their [paint] method subclasses may call /// [paintRadialReaction] to draw a radial ink reaction for this control. -abstract class ToggleablePainter extends ChangeNotifier implements CustomPainter { +abstract class ToggleablePainter extends ChangeNotifier implements CustomPainter { /// The visual value of the control. /// /// Usually set to [ToggleableStateMixin.position]. diff --git a/packages/flutter/lib/src/painting/image_provider.dart b/packages/flutter/lib/src/painting/image_provider.dart index a6f2cd04f6..852db6960b 100644 --- a/packages/flutter/lib/src/painting/image_provider.dart +++ b/packages/flutter/lib/src/painting/image_provider.dart @@ -1133,7 +1133,7 @@ class ExactAssetImage extends AssetBundleImageProvider { } // A completer used when resolving an image fails sync. -class _ErrorImageCompleter extends ImageStreamCompleter {} +class _ErrorImageCompleter extends ImageStreamCompleter { } /// The exception thrown when the HTTP request to load a network image fails. class NetworkImageLoadException implements Exception { diff --git a/packages/flutter/lib/src/rendering/proxy_sliver.dart b/packages/flutter/lib/src/rendering/proxy_sliver.dart index 7dbe3722f5..00cf7fd6f7 100644 --- a/packages/flutter/lib/src/rendering/proxy_sliver.dart +++ b/packages/flutter/lib/src/rendering/proxy_sliver.dart @@ -378,7 +378,7 @@ class RenderSliverOffstage extends RenderProxySliver { /// /// This is a variant of [RenderSliverOpacity] that uses an [Animation] /// rather than a [double] to control the opacity. -class RenderSliverAnimatedOpacity extends RenderProxySliver with RenderAnimatedOpacityMixin{ +class RenderSliverAnimatedOpacity extends RenderProxySliver with RenderAnimatedOpacityMixin { /// Creates a partially transparent render object. /// /// The [opacity] argument must not be null. diff --git a/packages/flutter/lib/src/widgets/actions.dart b/packages/flutter/lib/src/widgets/actions.dart index 224e025404..616c2f9a02 100644 --- a/packages/flutter/lib/src/widgets/actions.dart +++ b/packages/flutter/lib/src/widgets/actions.dart @@ -1604,16 +1604,16 @@ class ButtonActivateIntent extends Intent { /// activate a control. By default, is bound to [LogicalKeyboardKey.enter], /// [LogicalKeyboardKey.gameButtonA], and [LogicalKeyboardKey.space] in the /// default keyboard map in [WidgetsApp]. -abstract class ActivateAction extends Action {} +abstract class ActivateAction extends Action { } /// An intent that selects the currently focused control. -class SelectIntent extends Intent {} +class SelectIntent extends Intent { } /// An action that selects the currently focused control. /// /// This is an abstract class that serves as a base class for actions that /// select something. It is not bound to any key by default. -abstract class SelectAction extends Action {} +abstract class SelectAction extends Action { } /// An [Intent] that dismisses the currently focused widget. /// @@ -1631,7 +1631,7 @@ class DismissIntent extends Intent { /// An action that dismisses the focused widget. /// /// This is an abstract class that serves as a base class for dismiss actions. -abstract class DismissAction extends Action {} +abstract class DismissAction extends Action { } /// An [Intent] that evaluates a series of specified [orderedIntents] for /// execution. diff --git a/packages/flutter/lib/src/widgets/default_text_editing_actions.dart b/packages/flutter/lib/src/widgets/default_text_editing_actions.dart index 437aada010..1a57c20ef7 100644 --- a/packages/flutter/lib/src/widgets/default_text_editing_actions.dart +++ b/packages/flutter/lib/src/widgets/default_text_editing_actions.dart @@ -20,7 +20,7 @@ import 'text_editing_intents.dart'; /// * [DefaultTextEditingShortcuts], which maps keyboard keys to many of the /// [Intent]s that are handled here. /// * [WidgetsApp], which creates a DefaultTextEditingShortcuts. -class DefaultTextEditingActions extends Actions{ +class DefaultTextEditingActions extends Actions { /// Creates an instance of DefaultTextEditingActions. DefaultTextEditingActions({ Key? key, diff --git a/packages/flutter/lib/src/widgets/sliver.dart b/packages/flutter/lib/src/widgets/sliver.dart index cd6ade2db2..fe0ddf85e1 100644 --- a/packages/flutter/lib/src/widgets/sliver.dart +++ b/packages/flutter/lib/src/widgets/sliver.dart @@ -209,7 +209,7 @@ abstract class SliverChildDelegate { } } -class _SaltedValueKey extends ValueKey{ +class _SaltedValueKey extends ValueKey { const _SaltedValueKey(Key key): assert(key != null), super(key); } diff --git a/packages/flutter/lib/src/widgets/text_editing_intents.dart b/packages/flutter/lib/src/widgets/text_editing_intents.dart index 8186d7d017..86aff68213 100644 --- a/packages/flutter/lib/src/widgets/text_editing_intents.dart +++ b/packages/flutter/lib/src/widgets/text_editing_intents.dart @@ -7,7 +7,7 @@ import 'actions.dart'; /// An [Intent] to delete a character in the backwards direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteTextIntent extends Intent{ +class DeleteTextIntent extends Intent { /// Creates an instance of DeleteTextIntent. const DeleteTextIntent(); } @@ -15,7 +15,7 @@ class DeleteTextIntent extends Intent{ /// An [Intent] to delete a word in the backwards direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteByWordTextIntent extends Intent{ +class DeleteByWordTextIntent extends Intent { /// Creates an instance of DeleteByWordTextIntent. const DeleteByWordTextIntent(); } @@ -23,7 +23,7 @@ class DeleteByWordTextIntent extends Intent{ /// An [Intent] to delete a line in the backwards direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteByLineTextIntent extends Intent{ +class DeleteByLineTextIntent extends Intent { /// Creates an instance of DeleteByLineTextIntent. const DeleteByLineTextIntent(); } @@ -31,7 +31,7 @@ class DeleteByLineTextIntent extends Intent{ /// An [Intent] to delete in the forward direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteForwardTextIntent extends Intent{ +class DeleteForwardTextIntent extends Intent { /// Creates an instance of DeleteForwardTextIntent. const DeleteForwardTextIntent(); } @@ -39,7 +39,7 @@ class DeleteForwardTextIntent extends Intent{ /// An [Intent] to delete a word in the forward direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteForwardByWordTextIntent extends Intent{ +class DeleteForwardByWordTextIntent extends Intent { /// Creates an instance of DeleteByWordTextIntent. const DeleteForwardByWordTextIntent(); } @@ -47,7 +47,7 @@ class DeleteForwardByWordTextIntent extends Intent{ /// An [Intent] to delete a line in the forward direction. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class DeleteForwardByLineTextIntent extends Intent{ +class DeleteForwardByLineTextIntent extends Intent { /// Creates an instance of DeleteByLineTextIntent. const DeleteForwardByLineTextIntent(); } @@ -61,7 +61,7 @@ class DeleteForwardByLineTextIntent extends Intent{ /// * [DefaultTextEditingActions], which responds to this [Intent]. /// * [DefaultTextEditingShortcuts], which triggers this [Intent]. /// {@endtemplate} -class DoNothingAndStopPropagationTextIntent extends Intent{ +class DoNothingAndStopPropagationTextIntent extends Intent { /// Creates an instance of DoNothingAndStopPropagationTextIntent. const DoNothingAndStopPropagationTextIntent(); } @@ -79,7 +79,7 @@ class ExpandSelectionLeftByLineTextIntent extends Intent { /// field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExpandSelectionRightByLineTextIntent extends Intent{ +class ExpandSelectionRightByLineTextIntent extends Intent { /// Creates an instance of ExpandSelectionRightByLineTextIntent. const ExpandSelectionRightByLineTextIntent(); } @@ -87,7 +87,7 @@ class ExpandSelectionRightByLineTextIntent extends Intent{ /// An [Intent] to expand the selection to the end of the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExpandSelectionToEndTextIntent extends Intent{ +class ExpandSelectionToEndTextIntent extends Intent { /// Creates an instance of ExpandSelectionToEndTextIntent. const ExpandSelectionToEndTextIntent(); } @@ -95,7 +95,7 @@ class ExpandSelectionToEndTextIntent extends Intent{ /// An [Intent] to expand the selection to the start of the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExpandSelectionToStartTextIntent extends Intent{ +class ExpandSelectionToStartTextIntent extends Intent { /// Creates an instance of ExpandSelectionToStartTextIntent. const ExpandSelectionToStartTextIntent(); } @@ -103,7 +103,7 @@ class ExpandSelectionToStartTextIntent extends Intent{ /// An [Intent] to extend the selection down by one line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionDownTextIntent extends Intent{ +class ExtendSelectionDownTextIntent extends Intent { /// Creates an instance of ExtendSelectionDownTextIntent. const ExtendSelectionDownTextIntent(); } @@ -112,7 +112,7 @@ class ExtendSelectionDownTextIntent extends Intent{ /// line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionLeftByLineTextIntent extends Intent{ +class ExtendSelectionLeftByLineTextIntent extends Intent { /// Creates an instance of ExtendSelectionLeftByLineTextIntent. const ExtendSelectionLeftByLineTextIntent(); } @@ -122,7 +122,7 @@ class ExtendSelectionLeftByLineTextIntent extends Intent{ /// [TextSelection.baseOffset] would reverse. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionLeftByWordAndStopAtReversalTextIntent extends Intent{ +class ExtendSelectionLeftByWordAndStopAtReversalTextIntent extends Intent { /// Creates an instance of ExtendSelectionLeftByWordAndStopAtReversalTextIntent. const ExtendSelectionLeftByWordAndStopAtReversalTextIntent(); } @@ -130,7 +130,7 @@ class ExtendSelectionLeftByWordAndStopAtReversalTextIntent extends Intent{ /// An [Intent] to extend the selection left past the nearest word. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionLeftByWordTextIntent extends Intent{ +class ExtendSelectionLeftByWordTextIntent extends Intent { /// Creates an instance of ExtendSelectionLeftByWordTextIntent. const ExtendSelectionLeftByWordTextIntent(); } @@ -139,7 +139,7 @@ class ExtendSelectionLeftByWordTextIntent extends Intent{ /// platform for the shift + arrow-left key event. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionLeftTextIntent extends Intent{ +class ExtendSelectionLeftTextIntent extends Intent { /// Creates an instance of ExtendSelectionLeftTextIntent. const ExtendSelectionLeftTextIntent(); } @@ -148,7 +148,7 @@ class ExtendSelectionLeftTextIntent extends Intent{ /// line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionRightByLineTextIntent extends Intent{ +class ExtendSelectionRightByLineTextIntent extends Intent { /// Creates an instance of ExtendSelectionRightByLineTextIntent. const ExtendSelectionRightByLineTextIntent(); } @@ -158,7 +158,7 @@ class ExtendSelectionRightByLineTextIntent extends Intent{ /// [TextSelection.baseOffset] would reverse. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionRightByWordAndStopAtReversalTextIntent extends Intent{ +class ExtendSelectionRightByWordAndStopAtReversalTextIntent extends Intent { /// Creates an instance of ExtendSelectionRightByWordAndStopAtReversalTextIntent. const ExtendSelectionRightByWordAndStopAtReversalTextIntent(); } @@ -166,7 +166,7 @@ class ExtendSelectionRightByWordAndStopAtReversalTextIntent extends Intent{ /// An [Intent] to extend the selection right past the nearest word. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionRightByWordTextIntent extends Intent{ +class ExtendSelectionRightByWordTextIntent extends Intent { /// Creates an instance of ExtendSelectionRightByWordTextIntent. const ExtendSelectionRightByWordTextIntent(); } @@ -174,7 +174,7 @@ class ExtendSelectionRightByWordTextIntent extends Intent{ /// An [Intent] to extend the selection right by one character. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionRightTextIntent extends Intent{ +class ExtendSelectionRightTextIntent extends Intent { /// Creates an instance of ExtendSelectionRightTextIntent. const ExtendSelectionRightTextIntent(); } @@ -182,7 +182,7 @@ class ExtendSelectionRightTextIntent extends Intent{ /// An [Intent] to extend the selection up by one line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class ExtendSelectionUpTextIntent extends Intent{ +class ExtendSelectionUpTextIntent extends Intent { /// Creates an instance of ExtendSelectionUpTextIntent. const ExtendSelectionUpTextIntent(); } @@ -190,7 +190,7 @@ class ExtendSelectionUpTextIntent extends Intent{ /// An [Intent] to move the selection down by one line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionDownTextIntent extends Intent{ +class MoveSelectionDownTextIntent extends Intent { /// Creates an instance of MoveSelectionDownTextIntent. const MoveSelectionDownTextIntent(); } @@ -198,7 +198,7 @@ class MoveSelectionDownTextIntent extends Intent{ /// An [Intent] to move the selection left by one line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionLeftByLineTextIntent extends Intent{ +class MoveSelectionLeftByLineTextIntent extends Intent { /// Creates an instance of MoveSelectionLeftByLineTextIntent. const MoveSelectionLeftByLineTextIntent(); } @@ -206,7 +206,7 @@ class MoveSelectionLeftByLineTextIntent extends Intent{ /// An [Intent] to move the selection left past the nearest word. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionLeftByWordTextIntent extends Intent{ +class MoveSelectionLeftByWordTextIntent extends Intent { /// Creates an instance of MoveSelectionLeftByWordTextIntent. const MoveSelectionLeftByWordTextIntent(); } @@ -214,7 +214,7 @@ class MoveSelectionLeftByWordTextIntent extends Intent{ /// An [Intent] to move the selection left by one character. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionLeftTextIntent extends Intent{ +class MoveSelectionLeftTextIntent extends Intent { /// Creates an instance of MoveSelectionLeftTextIntent. const MoveSelectionLeftTextIntent(); } @@ -222,7 +222,7 @@ class MoveSelectionLeftTextIntent extends Intent{ /// An [Intent] to move the selection to the start of the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionToStartTextIntent extends Intent{ +class MoveSelectionToStartTextIntent extends Intent { /// Creates an instance of MoveSelectionToStartTextIntent. const MoveSelectionToStartTextIntent(); } @@ -230,7 +230,7 @@ class MoveSelectionToStartTextIntent extends Intent{ /// An [Intent] to move the selection right by one line. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionRightByLineTextIntent extends Intent{ +class MoveSelectionRightByLineTextIntent extends Intent { /// Creates an instance of MoveSelectionRightByLineTextIntent. const MoveSelectionRightByLineTextIntent(); } @@ -238,7 +238,7 @@ class MoveSelectionRightByLineTextIntent extends Intent{ /// An [Intent] to move the selection right past the nearest word. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionRightByWordTextIntent extends Intent{ +class MoveSelectionRightByWordTextIntent extends Intent { /// Creates an instance of MoveSelectionRightByWordTextIntent. const MoveSelectionRightByWordTextIntent(); } @@ -246,7 +246,7 @@ class MoveSelectionRightByWordTextIntent extends Intent{ /// An [Intent] to move the selection right by one character. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionRightTextIntent extends Intent{ +class MoveSelectionRightTextIntent extends Intent { /// Creates an instance of MoveSelectionRightTextIntent. const MoveSelectionRightTextIntent(); } @@ -254,7 +254,7 @@ class MoveSelectionRightTextIntent extends Intent{ /// An [Intent] to move the selection to the end of the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionToEndTextIntent extends Intent{ +class MoveSelectionToEndTextIntent extends Intent { /// Creates an instance of MoveSelectionToEndTextIntent. const MoveSelectionToEndTextIntent(); } @@ -262,7 +262,7 @@ class MoveSelectionToEndTextIntent extends Intent{ /// An [Intent] to move the selection up by one character. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class MoveSelectionUpTextIntent extends Intent{ +class MoveSelectionUpTextIntent extends Intent { /// Creates an instance of MoveSelectionUpTextIntent. const MoveSelectionUpTextIntent(); } @@ -270,7 +270,7 @@ class MoveSelectionUpTextIntent extends Intent{ /// An [Intent] to select everything in the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class SelectAllTextIntent extends Intent{ +class SelectAllTextIntent extends Intent { /// Creates an instance of SelectAllTextIntent. const SelectAllTextIntent(); } @@ -278,7 +278,7 @@ class SelectAllTextIntent extends Intent{ /// An [Intent] to copy selection in the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class CopySelectionTextIntent extends Intent{ +class CopySelectionTextIntent extends Intent { /// Creates an instance of CopyTextIntent. const CopySelectionTextIntent(); } @@ -286,7 +286,7 @@ class CopySelectionTextIntent extends Intent{ /// An [Intent] to cut selection in the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class CutSelectionTextIntent extends Intent{ +class CutSelectionTextIntent extends Intent { /// Creates an instance of CutTextIntent. const CutSelectionTextIntent(); } @@ -294,7 +294,7 @@ class CutSelectionTextIntent extends Intent{ /// An [Intent] to paste text from [Clipboard] to the field. /// /// {@macro flutter.widgets.TextEditingIntents.seeAlso} -class PasteTextIntent extends Intent{ +class PasteTextIntent extends Intent { /// Creates an instance of PasteTextIntent. const PasteTextIntent(); } diff --git a/packages/flutter/test/cupertino/dialog_test.dart b/packages/flutter/test/cupertino/dialog_test.dart index ef9dfb0541..ceee1b2621 100644 --- a/packages/flutter/test/cupertino/dialog_test.dart +++ b/packages/flutter/test/cupertino/dialog_test.dart @@ -1371,7 +1371,7 @@ Widget createAppWithCenteredButton(Widget child) { } -class _RestorableDialogTestWidget extends StatelessWidget{ +class _RestorableDialogTestWidget extends StatelessWidget { static Route _dialogBuilder(BuildContext context, Object? arguments) { return CupertinoDialogRoute( context: context, diff --git a/packages/flutter/test/cupertino/route_test.dart b/packages/flutter/test/cupertino/route_test.dart index b34ba4b37f..ec0373ead6 100644 --- a/packages/flutter/test/cupertino/route_test.dart +++ b/packages/flutter/test/cupertino/route_test.dart @@ -1901,7 +1901,7 @@ class _TestPostRouteCancelState extends State<_TestPostRouteCancel> { } } -class _RestorableModalTestWidget extends StatelessWidget{ +class _RestorableModalTestWidget extends StatelessWidget { static Route _modalBuilder(BuildContext context, Object? arguments) { return CupertinoModalPopupRoute( builder: (BuildContext context) { diff --git a/packages/flutter/test/foundation/covariant_templates_test.dart b/packages/flutter/test/foundation/covariant_templates_test.dart index 1b0cdeb7b7..bcffbc6c34 100644 --- a/packages/flutter/test/foundation/covariant_templates_test.dart +++ b/packages/flutter/test/foundation/covariant_templates_test.dart @@ -4,9 +4,9 @@ import 'package:flutter_test/flutter_test.dart'; -class X {} +class X { } -class Y extends X {} +class Y extends X { } class A { U? u; diff --git a/packages/flutter/test/material/tabs_test.dart b/packages/flutter/test/material/tabs_test.dart index a7f31f7d4e..e002c11feb 100644 --- a/packages/flutter/test/material/tabs_test.dart +++ b/packages/flutter/test/material/tabs_test.dart @@ -3868,7 +3868,7 @@ class TabBarDemo extends StatelessWidget { } } -class MockScrollMetrics extends Fake implements ScrollMetrics {} +class MockScrollMetrics extends Fake implements ScrollMetrics { } class TabBody extends StatefulWidget { const TabBody({ Key? key, required this.index, required this.log }) : super(key: key); diff --git a/packages/flutter/test/painting/image_cache_binding_test.dart b/packages/flutter/test/painting/image_cache_binding_test.dart index f6b228ff48..e8a7ce9951 100644 --- a/packages/flutter/test/painting/image_cache_binding_test.dart +++ b/packages/flutter/test/painting/image_cache_binding_test.dart @@ -77,4 +77,4 @@ class TestBindingBase implements BindingBase { ui.PlatformDispatcher get platformDispatcher => TestWindow(window: ui.window).platformDispatcher; } -class TestPaintingBinding extends TestBindingBase with SchedulerBinding, ServicesBinding, PaintingBinding {} +class TestPaintingBinding extends TestBindingBase with SchedulerBinding, ServicesBinding, PaintingBinding { } diff --git a/packages/flutter/test/rendering/editable_gesture_test.dart b/packages/flutter/test/rendering/editable_gesture_test.dart index 51ab8990b7..3929f1fa28 100644 --- a/packages/flutter/test/rendering/editable_gesture_test.dart +++ b/packages/flutter/test/rendering/editable_gesture_test.dart @@ -55,7 +55,7 @@ class _GestureBindingSpy extends AutomatedTestWidgetsFlutterBinding { PointerRouter get pointerRouter => _testPointerRouter; } -class FakeEditableTextState extends Fake implements TextSelectionDelegate { } +class FakeEditableTextState extends Fake implements TextSelectionDelegate { } class _PointerRouterSpy extends PointerRouter { int routeCount = 0; diff --git a/packages/flutter/test/rendering/mouse_tracker_test_utils.dart b/packages/flutter/test/rendering/mouse_tracker_test_utils.dart index c4c09064f0..87922790a9 100644 --- a/packages/flutter/test/rendering/mouse_tracker_test_utils.dart +++ b/packages/flutter/test/rendering/mouse_tracker_test_utils.dart @@ -70,7 +70,7 @@ class TestMouseTrackerFlutterBinding extends BindingBase } // An object that mocks the behavior of a render object with [MouseTrackerAnnotation]. -class TestAnnotationTarget with Diagnosticable implements MouseTrackerAnnotation, HitTestTarget { +class TestAnnotationTarget with Diagnosticable implements MouseTrackerAnnotation, HitTestTarget { const TestAnnotationTarget({this.onEnter, this.onHover, this.onExit, this.cursor = MouseCursor.defer, this.validForMouseTracker = true}); @override diff --git a/packages/flutter/test/widgets/navigator_restoration_test.dart b/packages/flutter/test/widgets/navigator_restoration_test.dart index 156910e70a..f1794de036 100644 --- a/packages/flutter/test/widgets/navigator_restoration_test.dart +++ b/packages/flutter/test/widgets/navigator_restoration_test.dart @@ -1332,4 +1332,4 @@ class _RouteFinder extends MatchFinder { } } -class FakeRoute extends Fake implements Route {} +class FakeRoute extends Fake implements Route { } diff --git a/packages/flutter/test/widgets/navigator_test.dart b/packages/flutter/test/widgets/navigator_test.dart index 000b5511b6..ac7346f6a3 100644 --- a/packages/flutter/test/widgets/navigator_test.dart +++ b/packages/flutter/test/widgets/navigator_test.dart @@ -3598,7 +3598,7 @@ void main() { typedef AnnouncementCallBack = void Function(Route?); -class NotAnnounced extends Route {/* A place holder for not announced route*/} +class NotAnnounced extends Route { /* A place holder for not announced route*/ } class RouteAnnouncementSpy extends Route { RouteAnnouncementSpy({ diff --git a/packages/flutter/test/widgets/range_maintaining_scroll_physics_test.dart b/packages/flutter/test/widgets/range_maintaining_scroll_physics_test.dart index 8f5f9132eb..ba8b702f25 100644 --- a/packages/flutter/test/widgets/range_maintaining_scroll_physics_test.dart +++ b/packages/flutter/test/widgets/range_maintaining_scroll_physics_test.dart @@ -16,7 +16,7 @@ class ExpandingBox extends StatefulWidget { State createState() => _ExpandingBoxState(); } -class _ExpandingBoxState extends State with AutomaticKeepAliveClientMixin{ +class _ExpandingBoxState extends State with AutomaticKeepAliveClientMixin { late double _height; @override diff --git a/packages/flutter/test/widgets/router_test.dart b/packages/flutter/test/widgets/router_test.dart index d1259a2b08..dee2ab9b69 100644 --- a/packages/flutter/test/widgets/router_test.dart +++ b/packages/flutter/test/widgets/router_test.dart @@ -1273,7 +1273,7 @@ class SimpleAsyncRouteInformationParser extends RouteInformationParser with ChangeNotifier{ +class SimpleAsyncRouterDelegate extends RouterDelegate with ChangeNotifier { SimpleAsyncRouterDelegate({ required this.builder, }); diff --git a/packages/flutter/test/widgets/slivers_keepalive_test.dart b/packages/flutter/test/widgets/slivers_keepalive_test.dart index 03d8d0cb43..bd52aab830 100644 --- a/packages/flutter/test/widgets/slivers_keepalive_test.dart +++ b/packages/flutter/test/widgets/slivers_keepalive_test.dart @@ -557,7 +557,7 @@ class WidgetTest0 extends StatefulWidget { State createState() => _WidgetTest0State(); } -class _WidgetTest0State extends State with AutomaticKeepAliveClientMixin{ +class _WidgetTest0State extends State with AutomaticKeepAliveClientMixin { bool hasBeenDisposed = false; @override @@ -590,7 +590,7 @@ class WidgetTest1 extends StatefulWidget { State createState() => _WidgetTest1State(); } -class _WidgetTest1State extends State with AutomaticKeepAliveClientMixin{ +class _WidgetTest1State extends State with AutomaticKeepAliveClientMixin { bool hasBeenDisposed = false; @override @@ -623,7 +623,7 @@ class WidgetTest2 extends StatefulWidget { State createState() => _WidgetTest2State(); } -class _WidgetTest2State extends State with AutomaticKeepAliveClientMixin{ +class _WidgetTest2State extends State with AutomaticKeepAliveClientMixin { bool hasBeenDisposed = false; @override diff --git a/packages/flutter_goldens_client/lib/skia_client.dart b/packages/flutter_goldens_client/lib/skia_client.dart index 235b64a6bf..66bdc7133b 100644 --- a/packages/flutter_goldens_client/lib/skia_client.dart +++ b/packages/flutter_goldens_client/lib/skia_client.dart @@ -428,4 +428,4 @@ class SkiaGoldClient { } /// Used to make HttpRequests during testing. -class SkiaGoldHttpOverrides extends io.HttpOverrides {} +class SkiaGoldHttpOverrides extends io.HttpOverrides { } diff --git a/packages/flutter_localizations/test/basics_test.dart b/packages/flutter_localizations/test/basics_test.dart index b350cb6588..69914700bd 100644 --- a/packages/flutter_localizations/test/basics_test.dart +++ b/packages/flutter_localizations/test/basics_test.dart @@ -84,7 +84,7 @@ class _DummyLocalizationsDelegate extends LocalizationsDelegate true; } -class DummyLocalizations {} +class DummyLocalizations { } class LocalizationTracker extends StatefulWidget { const LocalizationTracker({Key? key}) : super(key: key); diff --git a/packages/flutter_test/lib/src/test_compat.dart b/packages/flutter_test/lib/src/test_compat.dart index d41f915421..a73998a3c5 100644 --- a/packages/flutter_test/lib/src/test_compat.dart +++ b/packages/flutter_test/lib/src/test_compat.dart @@ -8,7 +8,7 @@ import 'package:meta/meta.dart'; import 'package:test_api/src/backend/declarer.dart'; // ignore: implementation_imports import 'package:test_api/src/backend/group.dart'; // ignore: implementation_imports import 'package:test_api/src/backend/group_entry.dart'; // ignore: implementation_imports -import 'package:test_api/src/backend/invoker.dart'; // ignore: implementation_imports +import 'package:test_api/src/backend/invoker.dart'; // ignore: implementation_imports import 'package:test_api/src/backend/live_test.dart'; // ignore: implementation_imports import 'package:test_api/src/backend/message.dart'; // ignore: implementation_imports import 'package:test_api/src/backend/runtime.dart'; // ignore: implementation_imports diff --git a/packages/flutter_tools/lib/src/vmservice.dart b/packages/flutter_tools/lib/src/vmservice.dart index e4373632ee..a07d934dd6 100644 --- a/packages/flutter_tools/lib/src/vmservice.dart +++ b/packages/flutter_tools/lib/src/vmservice.dart @@ -955,7 +955,7 @@ class FlutterVmService { } /// Thrown when the VM Service disappears while calls are being made to it. -class VmServiceDisappearedException implements Exception {} +class VmServiceDisappearedException implements Exception { } /// Whether the event attached to an [Isolate.pauseEvent] should be considered /// a "pause" event. diff --git a/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart index 1a7310fa74..f79583b7fb 100644 --- a/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart +++ b/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart @@ -75,8 +75,8 @@ class FakeApplicationPackageFactory extends Fake implements ApplicationPackageFa return app; } } -class FakeIOSApp extends Fake implements IOSApp {} -class FakeAndroidApk extends Fake implements AndroidApk {} +class FakeIOSApp extends Fake implements IOSApp { } +class FakeAndroidApk extends Fake implements AndroidApk { } class FakeIOSDevice extends Fake implements IOSDevice { @override diff --git a/packages/flutter_tools/test/general.shard/android/android_device_stop_test.dart b/packages/flutter_tools/test/general.shard/android/android_device_stop_test.dart index 928de3870a..6d1e459035 100644 --- a/packages/flutter_tools/test/general.shard/android/android_device_stop_test.dart +++ b/packages/flutter_tools/test/general.shard/android/android_device_stop_test.dart @@ -28,4 +28,4 @@ void main() { }); } -class FakeAndroidSdk extends Fake implements AndroidSdk {} +class FakeAndroidSdk extends Fake implements AndroidSdk { } diff --git a/packages/flutter_tools/test/general.shard/android/gradle_test.dart b/packages/flutter_tools/test/general.shard/android/gradle_test.dart index ad3a325aeb..f76ee66b7f 100644 --- a/packages/flutter_tools/test/general.shard/android/gradle_test.dart +++ b/packages/flutter_tools/test/general.shard/android/gradle_test.dart @@ -1017,4 +1017,4 @@ class FakeGradleUtils extends GradleUtils { } } -class FakeAndroidSdk extends Fake implements AndroidSdk {} +class FakeAndroidSdk extends Fake implements AndroidSdk { } diff --git a/packages/flutter_tools/test/general.shard/base/file_system_test.dart b/packages/flutter_tools/test/general.shard/base/file_system_test.dart index c9a0def10c..fcd710cc05 100644 --- a/packages/flutter_tools/test/general.shard/base/file_system_test.dart +++ b/packages/flutter_tools/test/general.shard/base/file_system_test.dart @@ -183,4 +183,4 @@ class FakeProcessSignal extends Fake implements io.ProcessSignal { @override Stream watch() => controller.stream; } -class FakeFile extends Fake implements File {} +class FakeFile extends Fake implements File { } diff --git a/packages/flutter_tools/test/general.shard/cold_test.dart b/packages/flutter_tools/test/general.shard/cold_test.dart index b745c95c77..85e830f972 100644 --- a/packages/flutter_tools/test/general.shard/cold_test.dart +++ b/packages/flutter_tools/test/general.shard/cold_test.dart @@ -231,7 +231,7 @@ class TestFlutterDevice extends FlutterDevice { } } -class FakeResidentCompiler extends Fake implements ResidentCompiler {} +class FakeResidentCompiler extends Fake implements ResidentCompiler { } class FakeFlutterVmService extends Fake implements FlutterVmService { @override diff --git a/packages/flutter_tools/test/general.shard/desktop_device_test.dart b/packages/flutter_tools/test/general.shard/desktop_device_test.dart index 536658bd9e..3962542f22 100644 --- a/packages/flutter_tools/test/general.shard/desktop_device_test.dart +++ b/packages/flutter_tools/test/general.shard/desktop_device_test.dart @@ -350,7 +350,7 @@ class FakeDesktopDevice extends DesktopDevice { } } -class FakeApplicationPackage extends Fake implements ApplicationPackage {} +class FakeApplicationPackage extends Fake implements ApplicationPackage { } class FakeOperatingSystemUtils extends Fake implements OperatingSystemUtils { @override String get name => 'Example'; diff --git a/packages/flutter_tools/test/general.shard/device_test.dart b/packages/flutter_tools/test/general.shard/device_test.dart index c3950c7849..b2958fa660 100644 --- a/packages/flutter_tools/test/general.shard/device_test.dart +++ b/packages/flutter_tools/test/general.shard/device_test.dart @@ -552,7 +552,7 @@ class MockDeviceDiscovery extends Fake implements DeviceDiscovery { List get wellKnownIds => []; } -class FakeFlutterProject extends Fake implements FlutterProject {} +class FakeFlutterProject extends Fake implements FlutterProject { } class LongPollingDeviceDiscovery extends PollingDeviceDiscovery { LongPollingDeviceDiscovery() : super('forever'); diff --git a/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart b/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart index aa5521ea30..3e16154deb 100644 --- a/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart +++ b/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart @@ -528,7 +528,7 @@ class FakeApplicationPackageFactory extends Fake implements ApplicationPackageFa }) async => applicationPackage; } -class FakeApplicationPackage extends Fake implements ApplicationPackage {} +class FakeApplicationPackage extends Fake implements ApplicationPackage { } class FakeDevice extends Fake implements Device { FakeDevice(this.result, {this.supportsFlutterExit = true}); diff --git a/packages/flutter_tools/test/general.shard/flutter_platform_test.dart b/packages/flutter_tools/test/general.shard/flutter_platform_test.dart index 2d6aaa69a2..08c940753b 100644 --- a/packages/flutter_tools/test/general.shard/flutter_platform_test.dart +++ b/packages/flutter_tools/test/general.shard/flutter_platform_test.dart @@ -122,7 +122,7 @@ void main() { }); } -class FakeSuitePlatform extends Fake implements SuitePlatform {} +class FakeSuitePlatform extends Fake implements SuitePlatform { } // A FlutterPlatform with enough fields set to load and start a test. class TestFlutterPlatform extends FlutterPlatform { diff --git a/packages/flutter_tools/test/general.shard/ios/devices_test.dart b/packages/flutter_tools/test/general.shard/ios/devices_test.dart index 26bbc56174..f041c839f5 100644 --- a/packages/flutter_tools/test/general.shard/ios/devices_test.dart +++ b/packages/flutter_tools/test/general.shard/ios/devices_test.dart @@ -579,7 +579,7 @@ class FakeIOSApp extends Fake implements IOSApp { final String name; } -class FakeIOSWorkflow extends Fake implements IOSWorkflow {} +class FakeIOSWorkflow extends Fake implements IOSWorkflow { } class FakeXcdevice extends Fake implements XCDevice { int getAvailableIOSDevicesCount = 0; diff --git a/packages/flutter_tools/test/general.shard/preview_device_test.dart b/packages/flutter_tools/test/general.shard/preview_device_test.dart index 8824ed7dae..9f47a1a847 100644 --- a/packages/flutter_tools/test/general.shard/preview_device_test.dart +++ b/packages/flutter_tools/test/general.shard/preview_device_test.dart @@ -85,8 +85,8 @@ void main() { }); } -class FakeFlutterProject extends Fake implements FlutterProject {} -class FakeApplicationPackage extends Fake implements ApplicationPackage {} +class FakeFlutterProject extends Fake implements FlutterProject { } +class FakeApplicationPackage extends Fake implements ApplicationPackage { } class FakeBundleBuilder extends Fake implements BundleBuilder { FakeBundleBuilder(this.fileSystem); diff --git a/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart b/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart index 8c293e74d0..192172c2df 100644 --- a/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart +++ b/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart @@ -473,4 +473,4 @@ class FakeFlutterDevice extends Fake implements FlutterDevice { TargetPlatform targetPlatform = TargetPlatform.android_arm; } -class FakeDevice extends Fake implements Device {} +class FakeDevice extends Fake implements Device { } diff --git a/packages/flutter_tools/test/general.shard/resident_web_runner_test.dart b/packages/flutter_tools/test/general.shard/resident_web_runner_test.dart index 78f37d6aa1..750b4d05d7 100644 --- a/packages/flutter_tools/test/general.shard/resident_web_runner_test.dart +++ b/packages/flutter_tools/test/general.shard/resident_web_runner_test.dart @@ -1028,7 +1028,7 @@ ResidentRunner setUpResidentRunner(FlutterDevice flutterDevice, { ); } -class FakeWebServerDevice extends FakeDevice implements WebServerDevice {} +class FakeWebServerDevice extends FakeDevice implements WebServerDevice { } class FakeDevice extends Fake implements Device { @override @@ -1099,9 +1099,9 @@ class FakeAppConnection extends Fake implements AppConnection { } } -class FakeChromeDevice extends Fake implements ChromiumDevice {} +class FakeChromeDevice extends Fake implements ChromiumDevice { } -class FakeWipDebugger extends Fake implements WipDebugger {} +class FakeWipDebugger extends Fake implements WipDebugger { } class FakeResidentCompiler extends Fake implements ResidentCompiler { @override diff --git a/packages/flutter_tools/test/general.shard/terminal_handler_test.dart b/packages/flutter_tools/test/general.shard/terminal_handler_test.dart index 8e410dba67..7403f25ce8 100644 --- a/packages/flutter_tools/test/general.shard/terminal_handler_test.dart +++ b/packages/flutter_tools/test/general.shard/terminal_handler_test.dart @@ -1455,7 +1455,7 @@ TerminalHandler setUpTerminalHandler(List requests, { ); } -class FakeResidentCompiler extends Fake implements ResidentCompiler {} +class FakeResidentCompiler extends Fake implements ResidentCompiler { } class TestRunner extends Fake implements ResidentRunner { bool hasHelpBeenPrinted = false; diff --git a/packages/flutter_tools/test/general.shard/test/event_printer_test.dart b/packages/flutter_tools/test/general.shard/test/event_printer_test.dart index 52942037e6..5d1117f84b 100644 --- a/packages/flutter_tools/test/general.shard/test/event_printer_test.dart +++ b/packages/flutter_tools/test/general.shard/test/event_printer_test.dart @@ -54,4 +54,4 @@ void main() { }); } -class FakeDevice extends Fake implements TestDevice {} +class FakeDevice extends Fake implements TestDevice { } diff --git a/packages/flutter_tools/test/general.shard/testbed_test.dart b/packages/flutter_tools/test/general.shard/testbed_test.dart index bbc98af4ca..77f89cbda5 100644 --- a/packages/flutter_tools/test/general.shard/testbed_test.dart +++ b/packages/flutter_tools/test/general.shard/testbed_test.dart @@ -101,6 +101,6 @@ void main() { }); } -class A {} +class A { } -class B extends A {} +class B extends A { } diff --git a/packages/flutter_tools/test/general.shard/vmservice_test.dart b/packages/flutter_tools/test/general.shard/vmservice_test.dart index cf1ab2fefe..9e254c6ff8 100644 --- a/packages/flutter_tools/test/general.shard/vmservice_test.dart +++ b/packages/flutter_tools/test/general.shard/vmservice_test.dart @@ -835,7 +835,7 @@ class MockVMService extends Fake implements vm_service.VmService { } } -class FakeDevice extends Fake implements Device {} +class FakeDevice extends Fake implements Device { } class FakeFlutterVersion extends Fake implements FlutterVersion { @override diff --git a/packages/integration_test/example/integration_test/example_test.dart b/packages/integration_test/example/integration_test/example_test.dart index 8a9c97701f..0e81b37d9e 100644 --- a/packages/integration_test/example/integration_test/example_test.dart +++ b/packages/integration_test/example/integration_test/example_test.dart @@ -11,8 +11,7 @@ import 'package:integration_test/integration_test.dart'; -import '_example_test_io.dart' if (dart.library.html) '_example_test_web.dart' - as tests; +import '_example_test_io.dart' if (dart.library.html) '_example_test_web.dart' as tests; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); diff --git a/packages/integration_test/example/integration_test/extended_test.dart b/packages/integration_test/example/integration_test/extended_test.dart index d43296dd1b..bcdf583a69 100644 --- a/packages/integration_test/example/integration_test/extended_test.dart +++ b/packages/integration_test/example/integration_test/extended_test.dart @@ -14,8 +14,7 @@ import 'package:integration_test/integration_test.dart'; -import '_extended_test_io.dart' if (dart.library.html) '_extended_test_web.dart' - as tests; +import '_extended_test_io.dart' if (dart.library.html) '_extended_test_web.dart' as tests; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized();