fix(FocusScope): Example fix (#98668)
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user