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
eca0cf38
Unverified
Commit
eca0cf38
authored
Sep 27, 2020
by
Alexandre Ardhuin
Committed by
GitHub
Sep 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the tree (#66783)
parent
c2e43403
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
action_sheet.dart
packages/flutter/lib/src/cupertino/action_sheet.dart
+8
-8
No files found.
packages/flutter/lib/src/cupertino/action_sheet.dart
View file @
eca0cf38
...
...
@@ -427,7 +427,7 @@ class _CupertinoAlertRenderElement extends RenderObjectElement {
_CupertinoAlertRenderWidget
get
widget
=>
super
.
widget
as
_CupertinoAlertRenderWidget
;
@override
_RenderCupertinoAlert
?
get
renderObject
=>
super
.
renderObject
as
_RenderCupertinoAlert
?
;
_RenderCupertinoAlert
get
renderObject
=>
super
.
renderObject
as
_RenderCupertinoAlert
;
@override
void
visitChildren
(
ElementVisitor
visitor
)
{
...
...
@@ -480,11 +480,11 @@ class _CupertinoAlertRenderElement extends RenderObjectElement {
@override
void
removeRenderObjectChild
(
RenderObject
child
,
_AlertSections
slot
)
{
assert
(
child
==
renderObject
!.
contentSection
||
child
==
renderObject
!
.
actionsSection
);
if
(
renderObject
!
.
contentSection
==
child
)
{
renderObject
!
.
contentSection
=
null
;
}
else
if
(
renderObject
!
.
actionsSection
==
child
)
{
renderObject
!
.
actionsSection
=
null
;
assert
(
child
==
renderObject
.
contentSection
||
child
==
renderObject
.
actionsSection
);
if
(
renderObject
.
contentSection
==
child
)
{
renderObject
.
contentSection
=
null
;
}
else
if
(
renderObject
.
actionsSection
==
child
)
{
renderObject
.
actionsSection
=
null
;
}
}
...
...
@@ -492,10 +492,10 @@ class _CupertinoAlertRenderElement extends RenderObjectElement {
assert
(
slot
!=
null
);
switch
(
slot
)
{
case
_AlertSections
.
contentSection
:
renderObject
!
.
contentSection
=
child
as
RenderBox
;
renderObject
.
contentSection
=
child
as
RenderBox
;
break
;
case
_AlertSections
.
actionsSection
:
renderObject
!
.
actionsSection
=
child
as
RenderBox
;
renderObject
.
actionsSection
=
child
as
RenderBox
;
break
;
}
}
...
...
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