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
2a6bc617
Unverified
Commit
2a6bc617
authored
Feb 10, 2020
by
Jonah Williams
Committed by
GitHub
Feb 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[framework] minimize performance effect of stateless/stateful swap (#50394)
parent
6146cd72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+0
-16
No files found.
packages/flutter/lib/src/widgets/framework.dart
View file @
2a6bc617
...
...
@@ -533,14 +533,6 @@ abstract class Widget extends DiagnosticableTree {
static
int
_debugConcreteSubtype
(
Widget
widget
)
{
return
widget
is
StatefulWidget
?
1
:
widget
is
StatelessWidget
?
2
:
widget
is
InheritedModel
?
3
:
widget
is
InheritedWidget
?
4
:
widget
is
ParentDataWidget
?
5
:
widget
is
ProxyWidget
?
6
:
widget
is
LeafRenderObjectWidget
?
7
:
widget
is
SingleChildRenderObjectWidget
?
8
:
widget
is
MultiChildRenderObjectWidget
?
9
:
widget
is
RenderObjectWidget
?
10
:
0
;
}
}
...
...
@@ -2931,14 +2923,6 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
static
int
_debugConcreteSubtype
(
Element
element
)
{
return
element
is
StatefulElement
?
1
:
element
is
StatelessElement
?
2
:
element
is
InheritedModelElement
?
3
:
element
is
InheritedElement
?
4
:
element
is
ParentDataElement
?
5
:
element
is
ProxyElement
?
6
:
element
is
LeafRenderObjectElement
?
7
:
element
is
SingleChildRenderObjectElement
?
8
:
element
is
MultiChildRenderObjectElement
?
9
:
element
is
RenderObjectElement
?
10
:
0
;
}
...
...
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