Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
80990c21
Unverified
Commit
80990c21
authored
Jul 08, 2021
by
Alexandre Ardhuin
Committed by
GitHub
Jul 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code formatting (#85783)
parent
f3aa51bd
Changes
52
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
99 additions
and
106 deletions
+99
-106
bench_paths.dart
dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart
+1
-2
platform_channels_benchmarks.dart
dev/devicelab/bin/tasks/platform_channels_benchmarks.dart
+2
-4
platform_channels_benchmarks_ios.dart
...devicelab/bin/tasks/platform_channels_benchmarks_ios.dart
+2
-4
common.dart
...ation_tests/android_semantics_testing/lib/src/common.dart
+1
-1
mock_image_http.dart
dev/manual_tests/test/mock_image_http.dart
+1
-1
sliding_segmented_control.dart
.../flutter/lib/src/cupertino/sliding_segmented_control.dart
+2
-2
events.dart
packages/flutter/lib/src/gestures/events.dart
+1
-1
scale.dart
packages/flutter/lib/src/gestures/scale.dart
+1
-1
outline_button.dart
packages/flutter/lib/src/material/outline_button.dart
+1
-1
tabs.dart
packages/flutter/lib/src/material/tabs.dart
+1
-1
toggleable.dart
packages/flutter/lib/src/material/toggleable.dart
+1
-1
image_provider.dart
packages/flutter/lib/src/painting/image_provider.dart
+1
-1
proxy_sliver.dart
packages/flutter/lib/src/rendering/proxy_sliver.dart
+1
-1
actions.dart
packages/flutter/lib/src/widgets/actions.dart
+4
-4
default_text_editing_actions.dart
...flutter/lib/src/widgets/default_text_editing_actions.dart
+1
-1
sliver.dart
packages/flutter/lib/src/widgets/sliver.dart
+1
-1
text_editing_intents.dart
packages/flutter/lib/src/widgets/text_editing_intents.dart
+34
-34
dialog_test.dart
packages/flutter/test/cupertino/dialog_test.dart
+1
-1
route_test.dart
packages/flutter/test/cupertino/route_test.dart
+1
-1
covariant_templates_test.dart
...ges/flutter/test/foundation/covariant_templates_test.dart
+2
-2
tabs_test.dart
packages/flutter/test/material/tabs_test.dart
+1
-1
image_cache_binding_test.dart
packages/flutter/test/painting/image_cache_binding_test.dart
+1
-1
editable_gesture_test.dart
packages/flutter/test/rendering/editable_gesture_test.dart
+1
-1
mouse_tracker_test_utils.dart
...ages/flutter/test/rendering/mouse_tracker_test_utils.dart
+1
-1
navigator_restoration_test.dart
...ages/flutter/test/widgets/navigator_restoration_test.dart
+1
-1
navigator_test.dart
packages/flutter/test/widgets/navigator_test.dart
+1
-1
range_maintaining_scroll_physics_test.dart
...r/test/widgets/range_maintaining_scroll_physics_test.dart
+1
-1
router_test.dart
packages/flutter/test/widgets/router_test.dart
+1
-1
slivers_keepalive_test.dart
packages/flutter/test/widgets/slivers_keepalive_test.dart
+3
-3
skia_client.dart
packages/flutter_goldens_client/lib/skia_client.dart
+1
-1
basics_test.dart
packages/flutter_localizations/test/basics_test.dart
+1
-1
test_compat.dart
packages/flutter_test/lib/src/test_compat.dart
+1
-1
vmservice.dart
packages/flutter_tools/lib/src/vmservice.dart
+1
-1
install_test.dart
...tter_tools/test/commands.shard/hermetic/install_test.dart
+2
-2
android_device_stop_test.dart
.../test/general.shard/android/android_device_stop_test.dart
+1
-1
gradle_test.dart
...flutter_tools/test/general.shard/android/gradle_test.dart
+1
-1
file_system_test.dart
...utter_tools/test/general.shard/base/file_system_test.dart
+1
-1
cold_test.dart
packages/flutter_tools/test/general.shard/cold_test.dart
+1
-1
desktop_device_test.dart
...flutter_tools/test/general.shard/desktop_device_test.dart
+1
-1
device_test.dart
packages/flutter_tools/test/general.shard/device_test.dart
+1
-1
drive_service_test.dart
...er_tools/test/general.shard/drive/drive_service_test.dart
+1
-1
flutter_platform_test.dart
...utter_tools/test/general.shard/flutter_platform_test.dart
+1
-1
devices_test.dart
...es/flutter_tools/test/general.shard/ios/devices_test.dart
+1
-1
preview_device_test.dart
...flutter_tools/test/general.shard/preview_device_test.dart
+2
-2
resident_devtools_handler_test.dart
...ls/test/general.shard/resident_devtools_handler_test.dart
+1
-1
resident_web_runner_test.dart
...er_tools/test/general.shard/resident_web_runner_test.dart
+3
-3
terminal_handler_test.dart
...utter_tools/test/general.shard/terminal_handler_test.dart
+1
-1
event_printer_test.dart
...ter_tools/test/general.shard/test/event_printer_test.dart
+1
-1
testbed_test.dart
packages/flutter_tools/test/general.shard/testbed_test.dart
+2
-2
vmservice_test.dart
...ages/flutter_tools/test/general.shard/vmservice_test.dart
+1
-1
example_test.dart
...tegration_test/example/integration_test/example_test.dart
+1
-2
extended_test.dart
...egration_test/example/integration_test/extended_test.dart
+1
-2
No files found.
dev/benchmarks/macrobenchmarks/lib/src/web/bench_paths.dart
View file @
80990c21
...
...
@@ -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.
...
...
dev/devicelab/bin/tasks/platform_channels_benchmarks.dart
View file @
80990c21
...
...
@@ -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
(
...
...
dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart
View file @
80990c21
...
...
@@ -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
));
...
...
dev/integration_tests/android_semantics_testing/lib/src/common.dart
View file @
80990c21
...
...
@@ -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.
...
...
dev/manual_tests/test/mock_image_http.dart
View file @
80990c21
...
...
@@ -60,4 +60,4 @@ class FakeHttpClientResponse extends Fake implements HttpClientResponse {
}
}
class
FakeHttpHeaders
extends
Fake
implements
HttpHeaders
{}
class
FakeHttpHeaders
extends
Fake
implements
HttpHeaders
{
}
packages/flutter/lib/src/cupertino/sliding_segmented_control.dart
View file @
80990c21
...
...
@@ -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<T> extends MultiChildRenderObjectWidget {
}
}
class
_SegmentedControlContainerBoxParentData
extends
ContainerBoxParentData
<
RenderBox
>
{}
class
_SegmentedControlContainerBoxParentData
extends
ContainerBoxParentData
<
RenderBox
>
{
}
// The behavior of a UISegmentedControl as observed on iOS 13.1:
//
...
...
packages/flutter/lib/src/gestures/events.dart
View file @
80990c21
...
...
@@ -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.
//
...
...
packages/flutter/lib/src/gestures/scale.dart
View file @
80990c21
...
...
@@ -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]
...
...
packages/flutter/lib/src/material/outline_button.dart
View file @
80990c21
...
...
@@ -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
<
ShapeBorder
>{
class
_OutlineBorder
extends
ShapeBorder
implements
MaterialStateProperty
<
ShapeBorder
>
{
const
_OutlineBorder
({
required
this
.
shape
,
required
this
.
side
,
...
...
packages/flutter/lib/src/material/tabs.dart
View file @
80990c21
...
...
@@ -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].
/// * <https://material.io/design/components/tabs.html>
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]
...
...
packages/flutter/lib/src/material/toggleable.dart
View file @
80990c21
...
...
@@ -338,7 +338,7 @@ mixin ToggleableStateMixin<S extends StatefulWidget> 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].
...
...
packages/flutter/lib/src/painting/image_provider.dart
View file @
80990c21
...
...
@@ -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
{
...
...
packages/flutter/lib/src/rendering/proxy_sliver.dart
View file @
80990c21
...
...
@@ -378,7 +378,7 @@ class RenderSliverOffstage extends RenderProxySliver {
///
/// This is a variant of [RenderSliverOpacity] that uses an [Animation<double>]
/// rather than a [double] to control the opacity.
class
RenderSliverAnimatedOpacity
extends
RenderProxySliver
with
RenderAnimatedOpacityMixin
<
RenderSliver
>{
class
RenderSliverAnimatedOpacity
extends
RenderProxySliver
with
RenderAnimatedOpacityMixin
<
RenderSliver
>
{
/// Creates a partially transparent render object.
///
/// The [opacity] argument must not be null.
...
...
packages/flutter/lib/src/widgets/actions.dart
View file @
80990c21
...
...
@@ -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
<
ActivateIntent
>
{}
abstract
class
ActivateAction
extends
Action
<
ActivateIntent
>
{
}
/// 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
<
SelectIntent
>
{}
abstract
class
SelectAction
extends
Action
<
SelectIntent
>
{
}
/// 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
<
DismissIntent
>
{}
abstract
class
DismissAction
extends
Action
<
DismissIntent
>
{
}
/// An [Intent] that evaluates a series of specified [orderedIntents] for
/// execution.
...
...
packages/flutter/lib/src/widgets/default_text_editing_actions.dart
View file @
80990c21
...
...
@@ -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
,
...
...
packages/flutter/lib/src/widgets/sliver.dart
View file @
80990c21
...
...
@@ -209,7 +209,7 @@ abstract class SliverChildDelegate {
}
}
class
_SaltedValueKey
extends
ValueKey
<
Key
>{
class
_SaltedValueKey
extends
ValueKey
<
Key
>
{
const
_SaltedValueKey
(
Key
key
):
assert
(
key
!=
null
),
super
(
key
);
}
...
...
packages/flutter/lib/src/widgets/text_editing_intents.dart
View file @
80990c21
...
...
@@ -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
();
}
packages/flutter/test/cupertino/dialog_test.dart
View file @
80990c21
...
...
@@ -1371,7 +1371,7 @@ Widget createAppWithCenteredButton(Widget child) {
}
class
_RestorableDialogTestWidget
extends
StatelessWidget
{
class
_RestorableDialogTestWidget
extends
StatelessWidget
{
static
Route
<
Object
?>
_dialogBuilder
(
BuildContext
context
,
Object
?
arguments
)
{
return
CupertinoDialogRoute
<
void
>(
context:
context
,
...
...
packages/flutter/test/cupertino/route_test.dart
View file @
80990c21
...
...
@@ -1901,7 +1901,7 @@ class _TestPostRouteCancelState extends State<_TestPostRouteCancel> {
}
}
class
_RestorableModalTestWidget
extends
StatelessWidget
{
class
_RestorableModalTestWidget
extends
StatelessWidget
{
static
Route
<
void
>
_modalBuilder
(
BuildContext
context
,
Object
?
arguments
)
{
return
CupertinoModalPopupRoute
<
void
>(
builder:
(
BuildContext
context
)
{
...
...
packages/flutter/test/foundation/covariant_templates_test.dart
View file @
80990c21
...
...
@@ -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
extends
X
>
{
U
?
u
;
...
...
packages/flutter/test/material/tabs_test.dart
View file @
80990c21
...
...
@@ -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
);
...
...
packages/flutter/test/painting/image_cache_binding_test.dart
View file @
80990c21
...
...
@@ -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
{
}
packages/flutter/test/rendering/editable_gesture_test.dart
View file @
80990c21
...
...
@@ -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
;
...
...
packages/flutter/test/rendering/mouse_tracker_test_utils.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/flutter/test/widgets/navigator_restoration_test.dart
View file @
80990c21
...
...
@@ -1332,4 +1332,4 @@ class _RouteFinder extends MatchFinder {
}
}
class
FakeRoute
extends
Fake
implements
Route
<
void
>
{}
class
FakeRoute
extends
Fake
implements
Route
<
void
>
{
}
packages/flutter/test/widgets/navigator_test.dart
View file @
80990c21
...
...
@@ -3598,7 +3598,7 @@ void main() {
typedef
AnnouncementCallBack
=
void
Function
(
Route
<
dynamic
>?);
class
NotAnnounced
extends
Route
<
void
>
{
/* A place holder for not announced route*/
}
class
NotAnnounced
extends
Route
<
void
>
{
/* A place holder for not announced route*/
}
class
RouteAnnouncementSpy
extends
Route
<
void
>
{
RouteAnnouncementSpy
({
...
...
packages/flutter/test/widgets/range_maintaining_scroll_physics_test.dart
View file @
80990c21
...
...
@@ -16,7 +16,7 @@ class ExpandingBox extends StatefulWidget {
State
<
ExpandingBox
>
createState
()
=>
_ExpandingBoxState
();
}
class
_ExpandingBoxState
extends
State
<
ExpandingBox
>
with
AutomaticKeepAliveClientMixin
<
ExpandingBox
>{
class
_ExpandingBoxState
extends
State
<
ExpandingBox
>
with
AutomaticKeepAliveClientMixin
<
ExpandingBox
>
{
late
double
_height
;
@override
...
...
packages/flutter/test/widgets/router_test.dart
View file @
80990c21
...
...
@@ -1273,7 +1273,7 @@ class SimpleAsyncRouteInformationParser extends RouteInformationParser<RouteInfo
}
}
class
SimpleAsyncRouterDelegate
extends
RouterDelegate
<
RouteInformation
>
with
ChangeNotifier
{
class
SimpleAsyncRouterDelegate
extends
RouterDelegate
<
RouteInformation
>
with
ChangeNotifier
{
SimpleAsyncRouterDelegate
({
required
this
.
builder
,
});
...
...
packages/flutter/test/widgets/slivers_keepalive_test.dart
View file @
80990c21
...
...
@@ -557,7 +557,7 @@ class WidgetTest0 extends StatefulWidget {
State
<
WidgetTest0
>
createState
()
=>
_WidgetTest0State
();
}
class
_WidgetTest0State
extends
State
<
WidgetTest0
>
with
AutomaticKeepAliveClientMixin
{
class
_WidgetTest0State
extends
State
<
WidgetTest0
>
with
AutomaticKeepAliveClientMixin
{
bool
hasBeenDisposed
=
false
;
@override
...
...
@@ -590,7 +590,7 @@ class WidgetTest1 extends StatefulWidget {
State
<
WidgetTest1
>
createState
()
=>
_WidgetTest1State
();
}
class
_WidgetTest1State
extends
State
<
WidgetTest1
>
with
AutomaticKeepAliveClientMixin
{
class
_WidgetTest1State
extends
State
<
WidgetTest1
>
with
AutomaticKeepAliveClientMixin
{
bool
hasBeenDisposed
=
false
;
@override
...
...
@@ -623,7 +623,7 @@ class WidgetTest2 extends StatefulWidget {
State
<
WidgetTest2
>
createState
()
=>
_WidgetTest2State
();
}
class
_WidgetTest2State
extends
State
<
WidgetTest2
>
with
AutomaticKeepAliveClientMixin
{
class
_WidgetTest2State
extends
State
<
WidgetTest2
>
with
AutomaticKeepAliveClientMixin
{
bool
hasBeenDisposed
=
false
;
@override
...
...
packages/flutter_goldens_client/lib/skia_client.dart
View file @
80990c21
...
...
@@ -428,4 +428,4 @@ class SkiaGoldClient {
}
/// Used to make HttpRequests during testing.
class SkiaGoldHttpOverrides extends io.HttpOverrides {}
class SkiaGoldHttpOverrides extends io.HttpOverrides {
}
packages/flutter_localizations/test/basics_test.dart
View file @
80990c21
...
...
@@ -84,7 +84,7 @@ class _DummyLocalizationsDelegate extends LocalizationsDelegate<DummyLocalizatio
bool
shouldReload
(
_DummyLocalizationsDelegate
old
)
=>
true
;
}
class
DummyLocalizations
{}
class
DummyLocalizations
{
}
class
LocalizationTracker
extends
StatefulWidget
{
const
LocalizationTracker
({
Key
?
key
})
:
super
(
key:
key
);
...
...
packages/flutter_test/lib/src/test_compat.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/flutter_tools/lib/src/vmservice.dart
View file @
80990c21
...
...
@@ -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.
...
...
packages/flutter_tools/test/commands.shard/hermetic/install_test.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/flutter_tools/test/general.shard/android/android_device_stop_test.dart
View file @
80990c21
...
...
@@ -28,4 +28,4 @@ void main() {
});
}
class
FakeAndroidSdk
extends
Fake
implements
AndroidSdk
{}
class
FakeAndroidSdk
extends
Fake
implements
AndroidSdk
{
}
packages/flutter_tools/test/general.shard/android/gradle_test.dart
View file @
80990c21
...
...
@@ -1017,4 +1017,4 @@ class FakeGradleUtils extends GradleUtils {
}
}
class
FakeAndroidSdk
extends
Fake
implements
AndroidSdk
{}
class
FakeAndroidSdk
extends
Fake
implements
AndroidSdk
{
}
packages/flutter_tools/test/general.shard/base/file_system_test.dart
View file @
80990c21
...
...
@@ -183,4 +183,4 @@ class FakeProcessSignal extends Fake implements io.ProcessSignal {
@override
Stream
<
io
.
ProcessSignal
>
watch
()
=>
controller
.
stream
;
}
class
FakeFile
extends
Fake
implements
File
{}
class
FakeFile
extends
Fake
implements
File
{
}
packages/flutter_tools/test/general.shard/cold_test.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/flutter_tools/test/general.shard/desktop_device_test.dart
View file @
80990c21
...
...
@@ -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'
;
...
...
packages/flutter_tools/test/general.shard/device_test.dart
View file @
80990c21
...
...
@@ -552,7 +552,7 @@ class MockDeviceDiscovery extends Fake implements DeviceDiscovery {
List
<
String
>
get
wellKnownIds
=>
<
String
>[];
}
class
FakeFlutterProject
extends
Fake
implements
FlutterProject
{}
class
FakeFlutterProject
extends
Fake
implements
FlutterProject
{
}
class
LongPollingDeviceDiscovery
extends
PollingDeviceDiscovery
{
LongPollingDeviceDiscovery
()
:
super
(
'forever'
);
...
...
packages/flutter_tools/test/general.shard/drive/drive_service_test.dart
View file @
80990c21
...
...
@@ -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
});
...
...
packages/flutter_tools/test/general.shard/flutter_platform_test.dart
View file @
80990c21
...
...
@@ -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
{
...
...
packages/flutter_tools/test/general.shard/ios/devices_test.dart
View file @
80990c21
...
...
@@ -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
;
...
...
packages/flutter_tools/test/general.shard/preview_device_test.dart
View file @
80990c21
...
...
@@ -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
);
...
...
packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart
View file @
80990c21
...
...
@@ -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
{
}
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/flutter_tools/test/general.shard/terminal_handler_test.dart
View file @
80990c21
...
...
@@ -1455,7 +1455,7 @@ TerminalHandler setUpTerminalHandler(List<FakeVmServiceRequest> requests, {
);
}
class
FakeResidentCompiler
extends
Fake
implements
ResidentCompiler
{}
class
FakeResidentCompiler
extends
Fake
implements
ResidentCompiler
{
}
class
TestRunner
extends
Fake
implements
ResidentRunner
{
bool
hasHelpBeenPrinted
=
false
;
...
...
packages/flutter_tools/test/general.shard/test/event_printer_test.dart
View file @
80990c21
...
...
@@ -54,4 +54,4 @@ void main() {
});
}
class
FakeDevice
extends
Fake
implements
TestDevice
{}
class
FakeDevice
extends
Fake
implements
TestDevice
{
}
packages/flutter_tools/test/general.shard/testbed_test.dart
View file @
80990c21
...
...
@@ -101,6 +101,6 @@ void main() {
});
}
class
A
{}
class
A
{
}
class
B
extends
A
{}
class
B
extends
A
{
}
packages/flutter_tools/test/general.shard/vmservice_test.dart
View file @
80990c21
...
...
@@ -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
...
...
packages/integration_test/example/integration_test/example_test.dart
View file @
80990c21
...
...
@@ -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
();
...
...
packages/integration_test/example/integration_test/extended_test.dart
View file @
80990c21
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment