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
bce6622a
Unverified
Commit
bce6622a
authored
Feb 17, 2022
by
Alberto
Committed by
GitHub
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(FocusScope): Example fix (#98668)
parent
cb09fa23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
focus.2.dart
examples/api/lib/widgets/focus_scope/focus.2.dart
+1
-1
focus_scope.0.dart
examples/api/lib/widgets/focus_scope/focus_scope.0.dart
+1
-1
No files found.
examples/api/lib/widgets/focus_scope/focus.2.dart
View file @
bce6622a
...
...
@@ -43,10 +43,10 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
@override
void
dispose
()
{
super
.
dispose
();
for
(
final
FocusNode
node
in
childFocusNodes
)
{
node
.
dispose
();
}
super
.
dispose
();
}
void
_addChild
()
{
...
...
examples/api/lib/widgets/focus_scope/focus_scope.0.dart
View file @
bce6622a
...
...
@@ -80,9 +80,9 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
@override
void
dispose
()
{
super
.
dispose
();
backdropNode
.
dispose
();
foregroundNode
.
dispose
();
super
.
dispose
();
}
Widget
_buildStack
(
BuildContext
context
,
BoxConstraints
constraints
)
{
...
...
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