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
3cf23fcb
Commit
3cf23fcb
authored
Apr 19, 2017
by
xster
Committed by
GitHub
Apr 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated (#9474)
parent
2366cf73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+0
-15
No files found.
packages/flutter/lib/src/widgets/framework.dart
View file @
3cf23fcb
...
...
@@ -740,12 +740,6 @@ abstract class State<T extends StatefulWidget> {
T
get
widget
=>
_widget
;
T
_widget
;
/// Deprecated getter for [widget]. Use the [widget] getter instead. This
/// getter will be removed on 2017/04/20.
@Deprecated
(
'The "config" property is now called "widget". Please migrate '
'now, as we will remove this feature soon.'
)
T
get
config
=>
_widget
;
/// The current stage in the lifecycle for this state object.
///
/// This field is used by the framework when asserts are enabled to verify
...
...
@@ -836,13 +830,6 @@ abstract class State<T extends StatefulWidget> {
@protected
void
didUpdateWidget
(
covariant
T
oldWidget
)
{
}
/// Deprecated callback when the widget configuration changes.
///
/// Use [didUpdateWidget] instead. This method will be removed on 2017/04/20.
@Deprecated
(
'The "didUpdateConfig" method is now called "didUpdateWidget". '
'Please migrate now, as we will remove this feature soon.'
)
void
didUpdateConfig
(
covariant
T
oldConfig
)
{
}
/// Called whenever the application is reassembled during debugging.
///
/// This method should rerun any initialization logic that depends on global
...
...
@@ -3288,8 +3275,6 @@ class StatefulElement extends ComponentElement {
try
{
_debugSetAllowIgnoredCallsToMarkNeedsBuild
(
true
);
_state
.
didUpdateWidget
(
oldWidget
);
// ignore: deprecated_member_use
_state
.
didUpdateConfig
(
oldWidget
);
}
finally
{
_debugSetAllowIgnoredCallsToMarkNeedsBuild
(
false
);
}
...
...
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