fix(FocusScope): Example fix (#98668)

This commit is contained in:
Alberto 2022-02-17 21:09:20 +01:00 committed by GitHub
parent cb09fa239b
commit bce6622a20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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() {

View file

@ -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) {