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
f012a0fd
Commit
f012a0fd
authored
May 24, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that State#build(BuildContext context) is always the same as State#context (#4116)
Fixes #4114
parent
e8e9d463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+4
-0
No files found.
packages/flutter/lib/src/widgets/framework.dart
View file @
f012a0fd
...
...
@@ -461,6 +461,10 @@ abstract class State<T extends StatefulWidget> {
/// The given build context object contains information about the location in
/// the tree at which this widget is being built. For example, the context
/// provides the set of inherited widgets for this location in the tree.
///
/// The context argument is always the same as [State.context]. This argument
/// is provided redundantly here to match the [WidgetBuilder] function
/// signature used by [StatelessWidget.build] and other widgets.
Widget
build
(
BuildContext
context
);
/// Called when an Inherited widget in the ancestor chain has changed. Usually
...
...
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