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
526ca0d4
Unverified
Commit
526ca0d4
authored
Jun 24, 2022
by
Alexandre Ardhuin
Committed by
GitHub
Jun 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export public API types from foundation/scheduler/gestures/semantics (#106409)
parent
450906cb
Changes
40
Show whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
34 additions
and
41 deletions
+34
-41
semantics.dart
packages/flutter/lib/semantics.dart
+1
-0
_platform_io.dart
packages/flutter/lib/src/foundation/_platform_io.dart
+2
-0
_platform_web.dart
packages/flutter/lib/src/foundation/_platform_web.dart
+2
-0
assertions.dart
packages/flutter/lib/src/foundation/assertions.dart
+1
-1
basic_types.dart
packages/flutter/lib/src/foundation/basic_types.dart
+0
-2
binding.dart
packages/flutter/lib/src/foundation/binding.dart
+2
-0
change_notifier.dart
packages/flutter/lib/src/foundation/change_notifier.dart
+2
-1
binding.dart
packages/flutter/lib/src/gestures/binding.dart
+1
-1
recognizer.dart
packages/flutter/lib/src/gestures/recognizer.dart
+1
-1
custom_paint.dart
packages/flutter/lib/src/rendering/custom_paint.dart
+0
-2
sliver_persistent_header.dart
...s/flutter/lib/src/rendering/sliver_persistent_header.dart
+0
-1
viewport.dart
packages/flutter/lib/src/rendering/viewport.dart
+0
-1
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+1
-1
binding.dart
packages/flutter/lib/src/semantics/binding.dart
+1
-1
semantics.dart
packages/flutter/lib/src/semantics/semantics.dart
+7
-2
semantics_event.dart
packages/flutter/lib/src/semantics/semantics_event.dart
+2
-0
semantics_service.dart
packages/flutter/lib/src/semantics/semantics_service.dart
+1
-1
scrollable.dart
packages/flutter/lib/src/widgets/scrollable.dart
+0
-1
semantics_debugger.dart
packages/flutter/lib/src/widgets/semantics_debugger.dart
+0
-1
text.dart
packages/flutter/lib/src/widgets/text.dart
+0
-1
radio_list_tile_test.dart
packages/flutter/test/material/radio_list_tile_test.dart
+0
-2
theme_test.dart
packages/flutter/test/material/theme_test.dart
+0
-1
text_span_test.dart
packages/flutter/test/painting/text_span_test.dart
+2
-0
stack_test.dart
packages/flutter/test/rendering/stack_test.dart
+0
-1
semantics_service_test.dart
packages/flutter/test/semantics/semantics_service_test.dart
+0
-2
semantics_test.dart
packages/flutter/test/semantics/semantics_test.dart
+2
-0
semantics_update_test.dart
packages/flutter/test/semantics/semantics_update_test.dart
+1
-0
basic_test.dart
packages/flutter/test/widgets/basic_test.dart
+1
-0
custom_painter_test.dart
packages/flutter/test/widgets/custom_painter_test.dart
+0
-2
focus_scope_test.dart
packages/flutter/test/widgets/focus_scope_test.dart
+0
-2
rich_text_test.dart
packages/flutter/test/widgets/rich_text_test.dart
+2
-0
scrollable_semantics_test.dart
packages/flutter/test/widgets/scrollable_semantics_test.dart
+0
-2
scrollable_semantics_traversal_order_test.dart
...st/widgets/scrollable_semantics_traversal_order_test.dart
+0
-2
selectable_text_test.dart
packages/flutter/test/widgets/selectable_text_test.dart
+1
-0
semantics_test.dart
packages/flutter/test/widgets/semantics_test.dart
+0
-1
semantics_tester.dart
packages/flutter/test/widgets/semantics_tester.dart
+1
-1
single_child_scroll_view_test.dart
...s/flutter/test/widgets/single_child_scroll_view_test.dart
+0
-2
sliver_semantics_test.dart
packages/flutter/test/widgets/sliver_semantics_test.dart
+0
-2
controller_test.dart
packages/flutter_test/test/controller_test.dart
+0
-2
matchers_test.dart
packages/flutter_test/test/matchers_test.dart
+0
-1
No files found.
packages/flutter/lib/semantics.dart
View file @
526ca0d4
...
...
@@ -16,4 +16,5 @@ library semantics;
export
'src/semantics/binding.dart'
;
export
'src/semantics/debug.dart'
;
export
'src/semantics/semantics.dart'
;
export
'src/semantics/semantics_event.dart'
;
export
'src/semantics/semantics_service.dart'
;
packages/flutter/lib/src/foundation/_platform_io.dart
View file @
526ca0d4
...
...
@@ -6,6 +6,8 @@ import 'dart:io';
import
'assertions.dart'
;
import
'platform.dart'
as
platform
;
export
'platform.dart'
show
TargetPlatform
;
/// The dart:io implementation of [platform.defaultTargetPlatform].
platform
.
TargetPlatform
get
defaultTargetPlatform
{
platform
.
TargetPlatform
?
result
;
...
...
packages/flutter/lib/src/foundation/_platform_web.dart
View file @
526ca0d4
...
...
@@ -7,6 +7,8 @@ import 'dart:ui' as ui;
import
'platform.dart'
as
platform
;
export
'platform.dart'
show
TargetPlatform
;
/// The dart:html implementation of [platform.defaultTargetPlatform].
platform
.
TargetPlatform
get
defaultTargetPlatform
{
// To get a better guess at the targetPlatform we need to be able to reference
...
...
packages/flutter/lib/src/foundation/assertions.dart
View file @
526ca0d4
...
...
@@ -11,7 +11,7 @@ import 'print.dart';
import
'stack_frame.dart'
;
export
'basic_types.dart'
show
IterableFilter
;
export
'diagnostics.dart'
show
DiagnosticLevel
,
Diagnostic
sNode
,
DiagnosticPropertiesBuilder
,
DiagnosticsTreeStyle
;
export
'diagnostics.dart'
show
DiagnosticLevel
,
Diagnostic
PropertiesBuilder
,
DiagnosticsNode
,
DiagnosticsTreeStyle
;
export
'stack_frame.dart'
show
StackFrame
;
// Examples can assume:
...
...
packages/flutter/lib/src/foundation/basic_types.dart
View file @
526ca0d4
...
...
@@ -6,8 +6,6 @@ import 'dart:collection';
// COMMON SIGNATURES
export
'dart:ui'
show
VoidCallback
;
/// Signature for callbacks that report that an underlying value has changed.
///
/// See also:
...
...
packages/flutter/lib/src/foundation/binding.dart
View file @
526ca0d4
...
...
@@ -18,6 +18,8 @@ import 'object.dart';
import
'platform.dart'
;
import
'print.dart'
;
export
'dart:ui'
show
PlatformDispatcher
,
SingletonFlutterWindow
;
export
'basic_types.dart'
show
AsyncCallback
,
AsyncValueGetter
,
AsyncValueSetter
;
// Examples can assume:
...
...
packages/flutter/lib/src/foundation/change_notifier.dart
View file @
526ca0d4
...
...
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
show
VoidCallback
;
import
'package:meta/meta.dart'
;
import
'assertions.dart'
;
import
'basic_types.dart'
;
import
'diagnostics.dart'
;
export
'dart:ui'
show
VoidCallback
;
...
...
packages/flutter/lib/src/gestures/binding.dart
View file @
526ca0d4
...
...
@@ -25,7 +25,7 @@ export 'package:flutter/foundation.dart' show DiagnosticsNode, InformationCollec
export
'arena.dart'
show
GestureArenaManager
;
export
'events.dart'
show
PointerEvent
;
export
'hit_test.dart'
show
HitTestEntry
,
HitTest
Target
,
HitTestResul
t
;
export
'hit_test.dart'
show
HitTestEntry
,
HitTest
Result
,
HitTestTarge
t
;
export
'pointer_router.dart'
show
PointerRouter
;
export
'pointer_signal_resolver.dart'
show
PointerSignalResolver
;
...
...
packages/flutter/lib/src/gestures/recognizer.dart
View file @
526ca0d4
...
...
@@ -24,7 +24,7 @@ export 'package:vector_math/vector_math_64.dart' show Matrix4;
export
'arena.dart'
show
GestureDisposition
;
export
'events.dart'
show
PointerDownEvent
,
PointerEvent
,
PointerPanZoomStartEvent
;
export
'gesture_settings.dart'
show
DeviceGestureSettings
;
export
'
pointer_router.dart'
show
PointerRouter
;
export
'
team.dart'
show
GestureArenaTeam
;
/// Generic signature for callbacks passed to
/// [GestureRecognizer.invokeCallback]. This allows the
...
...
packages/flutter/lib/src/rendering/custom_paint.dart
View file @
526ca0d4
...
...
@@ -7,8 +7,6 @@ import 'dart:collection';
import
'package:flutter/foundation.dart'
;
import
'package:flutter/semantics.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
import
'box.dart'
;
import
'object.dart'
;
import
'proxy_box.dart'
;
...
...
packages/flutter/lib/src/rendering/sliver_persistent_header.dart
View file @
526ca0d4
...
...
@@ -8,7 +8,6 @@ import 'package:flutter/animation.dart';
import
'package:flutter/foundation.dart'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/semantics.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
import
'box.dart'
;
import
'object.dart'
;
...
...
packages/flutter/lib/src/rendering/viewport.dart
View file @
526ca0d4
...
...
@@ -7,7 +7,6 @@ import 'dart:math' as math;
import
'package:flutter/animation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/semantics.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
import
'box.dart'
;
import
'layer.dart'
;
...
...
packages/flutter/lib/src/scheduler/binding.dart
View file @
526ca0d4
...
...
@@ -14,7 +14,7 @@ import 'debug.dart';
import
'priority.dart'
;
export
'dart:developer'
show
Flow
;
export
'dart:ui'
show
AppLifecycleState
,
FrameTiming
,
TimingsCallback
,
VoidCallback
;
export
'dart:ui'
show
AppLifecycleState
,
FrameTiming
,
TimingsCallback
;
export
'priority.dart'
show
Priority
;
...
...
packages/flutter/lib/src/semantics/binding.dart
View file @
526ca0d4
...
...
@@ -8,7 +8,7 @@ import 'package:flutter/foundation.dart';
import
'debug.dart'
;
export
'dart:ui'
show
AccessibilityFeatures
;
export
'dart:ui'
show
AccessibilityFeatures
,
SemanticsUpdateBuilder
;
/// The glue between the semantics layer and the Flutter engine.
// TODO(zanderso): move the remaining semantic related bindings here.
...
...
packages/flutter/lib/src/semantics/semantics.dart
View file @
526ca0d4
...
...
@@ -15,8 +15,13 @@ import 'package:vector_math/vector_math_64.dart';
import
'binding.dart'
show
SemanticsBinding
;
import
'semantics_event.dart'
;
export
'dart:ui'
show
SemanticsAction
,
StringAttribute
,
SpellOutStringAttribute
,
LocaleStringAttribute
;
export
'semantics_event.dart'
;
export
'dart:ui'
show
Offset
,
Rect
,
SemanticsAction
,
SemanticsFlag
,
StringAttribute
,
TextDirection
,
VoidCallback
;
export
'package:flutter/foundation.dart'
show
DiagnosticLevel
,
DiagnosticPropertiesBuilder
,
DiagnosticsNode
,
DiagnosticsTreeStyle
,
Key
,
TextTreeConfiguration
;
export
'package:flutter/services.dart'
show
TextSelection
;
export
'package:vector_math/vector_math_64.dart'
show
Matrix4
;
export
'semantics_event.dart'
show
SemanticsEvent
;
/// Signature for a function that is called for each [SemanticsNode].
///
...
...
packages/flutter/lib/src/semantics/semantics_event.dart
View file @
526ca0d4
...
...
@@ -6,6 +6,8 @@
import
'package:flutter/foundation.dart'
;
import
'package:flutter/painting.dart'
;
export
'dart:ui'
show
TextDirection
;
/// An event sent by the application to notify interested listeners that
/// something happened to the user interface (e.g. a view scrolled).
///
...
...
packages/flutter/lib/src/semantics/semantics_service.dart
View file @
526ca0d4
...
...
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
show
TextDirection
;
import
'package:flutter/services.dart'
show
SystemChannels
;
import
'semantics_event.dart'
show
AnnounceSemanticsEvent
,
TooltipSemanticsEvent
;
export
'dart:ui'
show
TextDirection
;
/// Allows access to the platform's accessibility services.
///
...
...
packages/flutter/lib/src/widgets/scrollable.dart
View file @
526ca0d4
...
...
@@ -4,7 +4,6 @@
import
'dart:async'
;
import
'dart:math'
as
math
;
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
...
...
packages/flutter/lib/src/widgets/semantics_debugger.dart
View file @
526ca0d4
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:math'
as
math
;
import
'dart:ui'
show
SemanticsFlag
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/lib/src/widgets/text.dart
View file @
526ca0d4
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
as
ui
show
TextHeightBehavior
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'basic.dart'
;
...
...
packages/flutter/test/material/radio_list_tile_test.dart
View file @
526ca0d4
...
...
@@ -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/rendering.dart'
;
import
'package:flutter/services.dart'
;
...
...
packages/flutter/test/material/theme_test.dart
View file @
526ca0d4
...
...
@@ -6,7 +6,6 @@ import 'dart:ui' as ui;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/src/foundation/diagnostics.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/painting/text_span_test.dart
View file @
526ca0d4
...
...
@@ -2,6 +2,8 @@
// 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/gestures.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/test/rendering/stack_test.dart
View file @
526ca0d4
...
...
@@ -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_test/flutter_test.dart'
;
...
...
packages/flutter/test/semantics/semantics_service_test.dart
View file @
526ca0d4
...
...
@@ -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'
show
TextDirection
;
import
'package:flutter/semantics.dart'
;
import
'package:flutter/services.dart'
show
SystemChannels
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/semantics/semantics_test.dart
View file @
526ca0d4
...
...
@@ -2,6 +2,8 @@
// 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/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:vector_math/vector_math_64.dart'
;
...
...
packages/flutter/test/semantics/semantics_update_test.dart
View file @
526ca0d4
...
...
@@ -4,6 +4,7 @@
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/semantics.dart'
;
...
...
packages/flutter/test/widgets/basic_test.dart
View file @
526ca0d4
...
...
@@ -8,6 +8,7 @@
import
'dart:math'
as
math
;
import
'dart:ui'
as
ui
;
import
'dart:ui'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
...
...
packages/flutter/test/widgets/custom_painter_test.dart
View file @
526ca0d4
...
...
@@ -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/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/focus_scope_test.dart
View file @
526ca0d4
...
...
@@ -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/semantics.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/test/widgets/rich_text_test.dart
View file @
526ca0d4
...
...
@@ -2,6 +2,8 @@
// 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/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/widgets/scrollable_semantics_test.dart
View file @
526ca0d4
...
...
@@ -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/gestures.dart'
show
DragStartBehavior
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/widgets/scrollable_semantics_traversal_order_test.dart
View file @
526ca0d4
...
...
@@ -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/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/selectable_text_test.dart
View file @
526ca0d4
...
...
@@ -8,6 +8,7 @@
@TestOn
(
'!chrome'
)
import
'dart:ui'
as
ui
show
BoxHeightStyle
,
BoxWidthStyle
;
import
'dart:ui'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
...
...
packages/flutter/test/widgets/semantics_test.dart
View file @
526ca0d4
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'dart:math'
;
import
'dart:ui'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/widgets/semantics_tester.dart
View file @
526ca0d4
...
...
@@ -2,7 +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'
show
SemanticsFlag
;
import
'dart:ui'
show
LocaleStringAttribute
,
SemanticsFlag
,
SpellOutStringAttribute
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/physics.dart'
;
...
...
packages/flutter/test/widgets/single_child_scroll_view_test.dart
View file @
526ca0d4
...
...
@@ -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/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/sliver_semantics_test.dart
View file @
526ca0d4
...
...
@@ -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/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter_test/test/controller_test.dart
View file @
526ca0d4
...
...
@@ -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/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/semantics.dart'
;
...
...
packages/flutter_test/test/matchers_test.dart
View file @
526ca0d4
...
...
@@ -5,7 +5,6 @@
// flutter_ignore_for_file: golden_tag (see analyze.dart)
import
'dart:typed_data'
;
import
'dart:ui'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
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