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
f1f559df
Unverified
Commit
f1f559df
authored
Aug 05, 2022
by
涛涛
Committed by
GitHub
Aug 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo in Documentation for Restoration with didChangeDependencies (#108659)
parent
8162214c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
restoration.dart
packages/flutter/lib/src/widgets/restoration.dart
+1
-1
No files found.
packages/flutter/lib/src/widgets/restoration.dart
View file @
f1f559df
...
...
@@ -793,7 +793,7 @@ mixin RestorationMixin<S extends StatefulWidget> on State<S> {
// There's nothing to do if:
// - We don't have a parent to claim a bucket from.
// - Our current bucket already uses the provided restoration ID.
// - There's a restore pending, which means that did
Updat
eDependencies
// - There's a restore pending, which means that did
Chang
eDependencies
// will be called and we handle the rename there.
if
(
_currentParent
==
null
||
_bucket
?.
restorationId
==
restorationId
||
restorePending
)
{
return
;
...
...
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