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
ec256c5e
Commit
ec256c5e
authored
Jun 30, 2016
by
pq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trampoline.
parent
a417786d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+2
-5
No files found.
packages/flutter/lib/src/widgets/framework.dart
View file @
ec256c5e
...
...
@@ -867,9 +867,6 @@ abstract class State<T extends StatefulWidget> {
@protected
Widget
build
(
BuildContext
context
);
/// Trampoline to make the [build] closure library-accessible.
WidgetBuilder
get
_build
=>
build
;
/// Called when a dependencies of this [State] object changes.
///
/// For example, if the previous call to [build] referenced an
...
...
@@ -2039,7 +2036,7 @@ class StatefulElement extends ComponentElement {
assert
(
_state
.
_element
==
null
);
_state
.
_element
=
this
;
assert
(
_builder
==
_buildNothing
);
_builder
=
_state
.
_
build
;
_builder
=
_state
.
build
;
assert
(
_state
.
_config
==
null
);
_state
.
_config
=
widget
;
assert
(
_state
.
_debugLifecycleState
==
_StateLifecycle
.
created
);
...
...
@@ -2050,7 +2047,7 @@ class StatefulElement extends ComponentElement {
@override
void
_reassemble
()
{
_builder
=
state
.
_
build
;
_builder
=
state
.
build
;
super
.
_reassemble
();
}
...
...
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