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
a0142477
Unverified
Commit
a0142477
authored
Apr 08, 2022
by
Michael Goderbauer
Committed by
GitHub
Apr 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable unnecessary_import (#101600)
parent
efe76a53
Changes
83
Hide whitespace changes
Inline
Side-by-side
Showing
83 changed files
with
0 additions
and
93 deletions
+0
-93
analysis_options.yaml
analysis_options.yaml
+0
-3
color_filter_cache.dart
...enchmarks/macrobenchmarks/lib/src/color_filter_cache.dart
+0
-1
shader_mask_cache.dart
...benchmarks/macrobenchmarks/lib/src/shader_mask_cache.dart
+0
-1
analyze.dart
dev/bots/analyze.dart
+0
-1
common.dart
dev/tracing_tests/test/common.dart
+0
-1
material_state_mouse_cursor.0.dart
...aterial/material_state/material_state_mouse_cursor.0.dart
+0
-1
platform_menu_bar.0.dart
...i/lib/material/platform_menu_bar/platform_menu_bar.0.dart
+0
-1
mouse_cursor.0.dart
examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart
+0
-1
font_feature.font_feature_locale_aware.0.dart
...lib/ui/text/font_feature.font_feature_locale_aware.0.dart
+0
-1
animated_list.0.dart
examples/api/lib/widgets/animated_list/animated_list.0.dart
+0
-1
sliver_animated_list.0.dart
...api/lib/widgets/animated_list/sliver_animated_list.0.dart
+0
-1
raw_autocomplete.0.dart
...ples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart
+0
-1
raw_autocomplete.1.dart
...ples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart
+0
-1
raw_autocomplete.2.dart
...ples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart
+0
-1
raw_autocomplete.focus_node.0.dart
...b/widgets/autocomplete/raw_autocomplete.focus_node.0.dart
+0
-1
listener.0.dart
examples/api/lib/widgets/basic/listener.0.dart
+0
-1
mouse_region.0.dart
examples/api/lib/widgets/basic/mouse_region.0.dart
+0
-1
focus_node.unfocus.0.dart
...s/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart
+0
-1
build_owner.0.dart
examples/api/lib/widgets/framework/build_owner.0.dart
+0
-1
flutter_test_config.dart
examples/api/test/flutter_test_config.dart
+0
-1
linear_gradient.0_test.dart
examples/api/test/painting/linear_gradient.0_test.dart
+0
-1
mouse_cursor.0_test.dart
...s/api/test/services/mouse_cursor/mouse_cursor.0_test.dart
+0
-1
font_feature.0_test.dart
examples/api/test/ui/text/font_feature.0_test.dart
+0
-1
font_feature.font_feature_alternative.0_test.dart
...ui/text/font_feature.font_feature_alternative.0_test.dart
+0
-1
font_feature.font_feature_alternative_fractions.0_test.dart
...nt_feature.font_feature_alternative_fractions.0_test.dart
+0
-1
font_feature.font_feature_case_sensitive_forms.0_test.dart
...ont_feature.font_feature_case_sensitive_forms.0_test.dart
+0
-1
font_feature.font_feature_character_variant.0_test.dart
...t/font_feature.font_feature_character_variant.0_test.dart
+0
-1
font_feature.font_feature_contextual_alternates.0_test.dart
...nt_feature.font_feature_contextual_alternates.0_test.dart
+0
-1
font_feature.font_feature_denominator.0_test.dart
...ui/text/font_feature.font_feature_denominator.0_test.dart
+0
-1
font_feature.font_feature_fractions.0_test.dart
...t/ui/text/font_feature.font_feature_fractions.0_test.dart
+0
-1
font_feature.font_feature_historical_forms.0_test.dart
...xt/font_feature.font_feature_historical_forms.0_test.dart
+0
-1
font_feature.font_feature_historical_ligatures.0_test.dart
...ont_feature.font_feature_historical_ligatures.0_test.dart
+0
-1
font_feature.font_feature_lining_figures.0_test.dart
...text/font_feature.font_feature_lining_figures.0_test.dart
+0
-1
font_feature.font_feature_locale_aware.0_test.dart
...i/text/font_feature.font_feature_locale_aware.0_test.dart
+0
-2
font_feature.font_feature_notational_forms.0_test.dart
...xt/font_feature.font_feature_notational_forms.0_test.dart
+0
-1
font_feature.font_feature_numerators.0_test.dart
.../ui/text/font_feature.font_feature_numerators.0_test.dart
+0
-1
font_feature.font_feature_oldstyle_figures.0_test.dart
...xt/font_feature.font_feature_oldstyle_figures.0_test.dart
+0
-1
font_feature.font_feature_ordinal_forms.0_test.dart
.../text/font_feature.font_feature_ordinal_forms.0_test.dart
+0
-1
font_feature.font_feature_proportional_figures.0_test.dart
...ont_feature.font_feature_proportional_figures.0_test.dart
+0
-1
font_feature.font_feature_scientific_inferiors.0_test.dart
...ont_feature.font_feature_scientific_inferiors.0_test.dart
+0
-1
font_feature.font_feature_slashed_zero.0_test.dart
...i/text/font_feature.font_feature_slashed_zero.0_test.dart
+0
-1
font_feature.font_feature_stylistic_alternates.0_test.dart
...ont_feature.font_feature_stylistic_alternates.0_test.dart
+0
-1
font_feature.font_feature_stylistic_set.0_test.dart
.../text/font_feature.font_feature_stylistic_set.0_test.dart
+0
-1
font_feature.font_feature_stylistic_set.1_test.dart
.../text/font_feature.font_feature_stylistic_set.1_test.dart
+0
-1
font_feature.font_feature_subscripts.0_test.dart
.../ui/text/font_feature.font_feature_subscripts.0_test.dart
+0
-1
font_feature.font_feature_superscripts.0_test.dart
...i/text/font_feature.font_feature_superscripts.0_test.dart
+0
-1
font_feature.font_feature_swash.0_test.dart
.../test/ui/text/font_feature.font_feature_swash.0_test.dart
+0
-1
font_feature.font_feature_tabular_figures.0_test.dart
...ext/font_feature.font_feature_tabular_figures.0_test.dart
+0
-1
bottom_tab_bar.dart
packages/flutter/lib/src/cupertino/bottom_tab_bar.dart
+0
-1
desktop_text_selection.dart
...ges/flutter/lib/src/cupertino/desktop_text_selection.dart
+0
-1
text_selection.dart
packages/flutter/lib/src/cupertino/text_selection.dart
+0
-1
desktop_text_selection.dart
...ages/flutter/lib/src/material/desktop_text_selection.dart
+0
-1
expansion_tile_theme.dart
packages/flutter/lib/src/material/expansion_tile_theme.dart
+0
-1
text_selection.dart
packages/flutter/lib/src/material/text_selection.dart
+0
-1
binding.dart
packages/flutter/lib/src/services/binding.dart
+0
-1
display_feature_sub_screen.dart
...s/flutter/lib/src/widgets/display_feature_sub_screen.dart
+0
-3
draggable_scrollable_sheet.dart
...s/flutter/lib/src/widgets/draggable_scrollable_sheet.dart
+0
-1
platform_menu_bar.dart
packages/flutter/lib/src/widgets/platform_menu_bar.dart
+0
-3
shared_app_data.dart
packages/flutter/lib/src/widgets/shared_app_data.dart
+0
-1
gesture_config_regression_test.dart
...flutter/test/gestures/gesture_config_regression_test.dart
+0
-1
app_bar_test.dart
packages/flutter/test/material/app_bar_test.dart
+0
-1
bottom_navigation_bar_theme_test.dart
...utter/test/material/bottom_navigation_bar_theme_test.dart
+0
-1
range_slider_test.dart
packages/flutter/test/material/range_slider_test.dart
+0
-1
switch_list_tile_test.dart
packages/flutter/test/material/switch_list_tile_test.dart
+0
-1
tooltip_visibility_test.dart
packages/flutter/test/material/tooltip_visibility_test.dart
+0
-1
mock_canvas_test.dart
packages/flutter/test/rendering/mock_canvas_test.dart
+0
-1
relayout_boundary_test.dart
packages/flutter/test/rendering/relayout_boundary_test.dart
+0
-1
display_feature_sub_screen_test.dart
...flutter/test/widgets/display_feature_sub_screen_test.dart
+0
-2
editable_text_shortcuts_test.dart
...es/flutter/test/widgets/editable_text_shortcuts_test.dart
+0
-1
editable_text_utils.dart
packages/flutter/test/widgets/editable_text_utils.dart
+0
-1
placeholder_test.dart
packages/flutter/test/widgets/placeholder_test.dart
+0
-1
platform_menu_bar_test.dart
packages/flutter/test/widgets/platform_menu_bar_test.dart
+0
-1
ticker_mode_test.dart
packages/flutter/test/widgets/ticker_mode_test.dart
+0
-1
transitions_test.dart
packages/flutter/test/widgets/transitions_test.dart
+0
-1
tabs_test.dart
packages/flutter_localizations/test/material/tabs_test.dart
+0
-2
test_text_input.dart
packages/flutter_test/lib/src/test_text_input.dart
+0
-1
file_transfer.dart
.../flutter_tools/lib/src/proxied_devices/file_transfer.dart
+0
-1
analyze_test.dart
...tter_tools/test/commands.shard/hermetic/analyze_test.dart
+0
-1
install_test.dart
...tter_tools/test/commands.shard/hermetic/install_test.dart
+0
-1
proxied_devices_test.dart
...ls/test/commands.shard/hermetic/proxied_devices_test.dart
+0
-1
upgrade_test.dart
...tter_tools/test/commands.shard/hermetic/upgrade_test.dart
+0
-1
integration_test_device_test.dart
...ools/test/general.shard/integration_test_device_test.dart
+0
-1
test_support.dart
...ls/test/integration.shard/debug_adapter/test_support.dart
+0
-2
No files found.
analysis_options.yaml
View file @
a0142477
...
...
@@ -29,9 +29,6 @@ analyzer:
# allow self-reference to deprecated members (we do this because otherwise we have
# to annotate every member in every test, assert, etc, when we deprecate something)
deprecated_member_use_from_same_package
:
ignore
# TODO(ianh): https://github.com/flutter/flutter/issues/74381
# Clean up existing unnecessary imports, and remove line to ignore.
unnecessary_import
:
ignore
# Turned off until null-safe rollout is complete.
unnecessary_null_comparison
:
ignore
exclude
:
...
...
dev/benchmarks/macrobenchmarks/lib/src/color_filter_cache.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
class
ColorFilterCachePage
extends
StatefulWidget
{
...
...
dev/benchmarks/macrobenchmarks/lib/src/shader_mask_cache.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'picture_cache.dart'
;
...
...
dev/bots/analyze.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:core'
hide
print
;
import
'dart:io'
hide
exit
;
...
...
dev/tracing_tests/test/common.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:developer'
as
developer
;
import
'dart:isolate'
as
isolate
;
import
'dart:ui'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for MaterialStateMouseCursor
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
void
main
(
)
=>
runApp
(
const
MyApp
());
...
...
examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart
View file @
a0142477
...
...
@@ -8,7 +8,6 @@
// THIS SAMPLE ONLY WORKS ON MACOS.
////////////////////////////////////
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
...
...
examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for MouseCursor
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
void
main
(
)
=>
runApp
(
const
MyApp
());
...
...
examples/api/lib/ui/text/font_feature.font_feature_locale_aware.0.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// Flutter code sample for FontFeature.FontFeature.localeAware
import
'dart:ui'
;
import
'package:flutter/widgets.dart'
;
...
...
examples/api/lib/widgets/animated_list/animated_list.0.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
// Flutter code sample for AnimatedList
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
void
main
(
)
{
...
...
examples/api/lib/widgets/animated_list/sliver_animated_list.0.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
// Flutter code sample for SliverAnimatedList
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
void
main
(
)
=>
runApp
(
const
SliverAnimatedListSample
());
...
...
examples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for RawAutocomplete
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
AutocompleteExampleApp
());
...
...
examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for RawAutocomplete
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
AutocompleteExampleApp
());
...
...
examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for RawAutocomplete
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
AutocompleteExampleApp
());
...
...
examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for RawAutocomplete.focusNode
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
AutocompleteExampleApp
());
...
...
examples/api/lib/widgets/basic/listener.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for Listener
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
MyApp
());
...
...
examples/api/lib/widgets/basic/mouse_region.0.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
// Flutter code sample for MouseRegion
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
=>
runApp
(
const
MyApp
());
...
...
examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
// Flutter code sample for FocusNode.unfocus
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
...
...
examples/api/lib/widgets/framework/build_owner.0.dart
View file @
a0142477
...
...
@@ -6,7 +6,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
WidgetsFlutterBinding
.
ensureInitialized
();
...
...
examples/api/test/flutter_test_config.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:async'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'goldens_io.dart'
if
(
dart
.
library
.
html
)
'goldens_web.dart'
as
flutter_goldens
;
...
...
examples/api/test/painting/linear_gradient.0_test.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/painting/gradient/linear_gradient.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/services/mouse_cursor/mouse_cursor.0_test.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/services/mouse_cursor/mouse_cursor.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_alternative.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_alternative.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_alternative_fractions.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_alternative_fractions.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_case_sensitive_forms.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_character_variant.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_character_variant.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_contextual_alternates.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_contextual_alternates.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_denominator.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_denominator.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_fractions.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_fractions.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_historical_forms.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_historical_forms.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_historical_ligatures.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_historical_ligatures.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_lining_figures.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_lining_figures.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_locale_aware.0_test.dart
View file @
a0142477
...
...
@@ -2,9 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_locale_aware.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_notational_forms.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_notational_forms.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_numerators.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_numerators.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_oldstyle_figures.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_oldstyle_figures.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_ordinal_forms.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_ordinal_forms.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_proportional_figures.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_proportional_figures.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_scientific_inferiors.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_scientific_inferiors.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_slashed_zero.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_slashed_zero.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_stylistic_alternates.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_stylistic_alternates.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_stylistic_set.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_stylistic_set.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_stylistic_set.1_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_stylistic_set.1.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_subscripts.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_subscripts.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_superscripts.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_superscripts.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_swash.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_swash.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
examples/api/test/ui/text/font_feature.font_feature_tabular_figures.0_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_api_samples/ui/text/font_feature.font_feature_tabular_figures.0.dart'
as
example
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/lib/src/cupertino/bottom_tab_bar.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
import
'dart:ui'
show
ImageFilter
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'colors.dart'
;
...
...
packages/flutter/lib/src/cupertino/desktop_text_selection.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/lib/src/cupertino/text_selection.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:math'
as
math
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/lib/src/material/desktop_text_selection.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/lib/src/material/expansion_tile_theme.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/lib/src/material/text_selection.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'dart:math'
as
math
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/lib/src/services/binding.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:io'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'package:flutter/foundation.dart'
;
...
...
packages/flutter/lib/src/widgets/display_feature_sub_screen.dart
View file @
a0142477
...
...
@@ -4,9 +4,6 @@
import
'dart:math'
as
math
;
import
'dart:ui'
show
DisplayFeature
,
DisplayFeatureState
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/rendering.dart'
;
import
'basic.dart'
;
import
'debug.dart'
;
...
...
packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart
View file @
a0142477
...
...
@@ -6,7 +6,6 @@ import 'dart:math' as math;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/physics.dart'
;
import
'basic.dart'
;
import
'binding.dart'
;
...
...
packages/flutter/lib/src/widgets/platform_menu_bar.dart
View file @
a0142477
...
...
@@ -3,11 +3,8 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/services.dart'
;
import
'binding.dart'
;
...
...
packages/flutter/lib/src/widgets/shared_app_data.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'framework.dart'
;
import
'inherited_model.dart'
;
...
...
packages/flutter/test/gestures/gesture_config_regression_test.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
import
'dart:ui'
as
ui
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
class
TestResult
{
...
...
packages/flutter/test/material/app_bar_test.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
...
...
packages/flutter/test/material/bottom_navigation_bar_theme_test.dart
View file @
a0142477
...
...
@@ -5,7 +5,6 @@
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:vector_math/vector_math_64.dart'
show
Vector3
;
...
...
packages/flutter/test/material/range_slider_test.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
...
...
packages/flutter/test/material/switch_list_tile_test.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/material/tooltip_visibility_test.dart
View file @
a0142477
...
...
@@ -6,7 +6,6 @@ import 'dart:ui';
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
const
String
tooltipText
=
'TIP'
;
...
...
packages/flutter/test/rendering/mock_canvas_test.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'mock_canvas.dart'
;
...
...
packages/flutter/test/rendering/relayout_boundary_test.dart
View file @
a0142477
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/display_feature_sub_screen_test.dart
View file @
a0142477
...
...
@@ -4,8 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/editable_text_shortcuts_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/editable_text_utils.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
// Returns the first RenderEditable.
...
...
packages/flutter/test/widgets/placeholder_test.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../rendering/mock_canvas.dart'
;
...
...
packages/flutter/test/widgets/platform_menu_bar_test.dart
View file @
a0142477
...
...
@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/src/foundation/diagnostics.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/ticker_mode_test.dart
View file @
a0142477
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/transitions_test.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:math'
as
math
;
import
'dart:ui'
show
Rect
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter_localizations/test/material/tabs_test.dart
View file @
a0142477
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_localizations/flutter_localizations.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter_test/lib/src/test_text_input.dart
View file @
a0142477
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
show
Rect
,
Offset
;
import
'package:flutter/foundation.dart'
;
...
...
packages/flutter_tools/lib/src/proxied_devices/file_transfer.dart
View file @
a0142477
...
...
@@ -10,7 +10,6 @@ import 'package:crypto/crypto.dart';
import
'package:meta/meta.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../build_system/hash.dart'
;
import
'../convert.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/analyze_test.dart
View file @
a0142477
...
...
@@ -18,7 +18,6 @@ import 'package:flutter_tools/src/dart/analysis.dart';
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fake_process_manager.dart'
;
import
'../../src/test_flutter_command_runner.dart'
;
const
String
_kFlutterRoot
=
'/data/flutter'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/install_test.dart
View file @
a0142477
...
...
@@ -19,7 +19,6 @@ import 'package:test/fake.dart';
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fake_process_manager.dart'
;
import
'../../src/test_flutter_command_runner.dart'
;
void
main
(
)
{
...
...
packages/flutter_tools/test/commands.shard/hermetic/proxied_devices_test.dart
View file @
a0142477
...
...
@@ -7,7 +7,6 @@
import
'dart:async'
;
import
'package:file/memory.dart'
;
import
'package:file/src/interface/file.dart'
;
import
'package:flutter_tools/src/android/android_device.dart'
;
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/upgrade_test.dart
View file @
a0142477
...
...
@@ -14,7 +14,6 @@ import 'package:flutter_tools/src/cache.dart';
import
'package:flutter_tools/src/commands/upgrade.dart'
;
import
'package:flutter_tools/src/version.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fake_process_manager.dart'
;
import
'../../src/fakes.dart'
show
FakeFlutterVersion
;
...
...
packages/flutter_tools/test/general.shard/integration_test_device_test.dart
View file @
a0142477
...
...
@@ -17,7 +17,6 @@ import 'package:stream_channel/stream_channel.dart';
import
'package:test/fake.dart'
;
import
'package:vm_service/vm_service.dart'
as
vm_service
;
import
'../src/common.dart'
;
import
'../src/context.dart'
;
import
'../src/fake_devices.dart'
;
import
'../src/fake_vm_services.dart'
;
...
...
packages/flutter_tools/test/integration.shard/debug_adapter/test_support.dart
View file @
a0142477
...
...
@@ -6,9 +6,7 @@ import 'dart:async';
import
'dart:io'
;
import
'package:dds/dap.dart'
;
import
'package:dds/src/dap/logging.dart'
;
import
'package:file/file.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/convert.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
...
...
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