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
4be0cfcb
Unverified
Commit
4be0cfcb
authored
Oct 10, 2022
by
Jonah Williams
Committed by
GitHub
Oct 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[framework] add ignores for platformDispatcher deprecation (#113238)
parent
492bfddd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
semantics.dart
packages/flutter/lib/src/semantics/semantics.dart
+2
-0
window.dart
packages/flutter_test/lib/src/window.dart
+2
-0
No files found.
packages/flutter/lib/src/semantics/semantics.dart
View file @
4be0cfcb
...
...
@@ -3118,6 +3118,8 @@ class SemanticsOwner extends ChangeNotifier {
final
CustomSemanticsAction
action
=
CustomSemanticsAction
.
getAction
(
actionId
)!;
builder
.
updateCustomAction
(
id:
actionId
,
label:
action
.
label
,
hint:
action
.
hint
,
overrideId:
action
.
action
?.
index
??
-
1
);
}
// TODO(a-wallen): https://github.com/flutter/flutter/issues/112221
// ignore: deprecated_member_use
SemanticsBinding
.
instance
.
platformDispatcher
.
updateSemantics
(
builder
.
build
());
notifyListeners
();
}
...
...
packages/flutter_test/lib/src/window.dart
View file @
4be0cfcb
...
...
@@ -853,6 +853,8 @@ class TestPlatformDispatcher implements ui.PlatformDispatcher {
@override
void
updateSemantics
(
ui
.
SemanticsUpdate
update
)
{
// TODO(a-wallen): https://github.com/flutter/flutter/issues/112221
// ignore: deprecated_member_use
_platformDispatcher
.
updateSemantics
(
update
);
}
...
...
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