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
e5322acc
Unverified
Commit
e5322acc
authored
Mar 06, 2021
by
Ian Hickson
Committed by
GitHub
Mar 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some dynamics to Object? and document slot better (#77026)
parent
cb867bbe
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
37 deletions
+42
-37
text_selection_toolbar.dart
...ges/flutter/lib/src/cupertino/text_selection_toolbar.dart
+1
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+41
-36
No files found.
packages/flutter/lib/src/cupertino/text_selection_toolbar.dart
View file @
e5322acc
...
...
@@ -594,7 +594,7 @@ class _CupertinoTextSelectionToolbarItemsElement extends RenderObjectElement {
assert
(!
_forgottenChildren
.
contains
(
child
));
// Handle forgetting a child in children or in a slot.
if
(
slotToChild
.
containsKey
(
child
.
slot
))
{
final
_CupertinoTextSelectionToolbarItemsSlot
slot
=
child
.
slot
as
_CupertinoTextSelectionToolbarItemsSlot
;
final
_CupertinoTextSelectionToolbarItemsSlot
slot
=
child
.
slot
!
as
_CupertinoTextSelectionToolbarItemsSlot
;
slotToChild
.
remove
(
slot
);
}
else
{
_forgottenChildren
.
add
(
child
);
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
e5322acc
This diff is collapsed.
Click to expand it.
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