We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5eb5f commit 9c71485Copy full SHA for 9c71485
lib/src/material/material_desktop_controls.dart
@@ -58,6 +58,7 @@ class _MaterialDesktopControlsState extends State<MaterialDesktopControls>
58
@override
59
void initState() {
60
super.initState();
61
+ _focusNode = FocusNode();
62
notifier = Provider.of<PlayerNotifier>(context, listen: false);
63
}
64
@@ -139,6 +140,7 @@ class _MaterialDesktopControlsState extends State<MaterialDesktopControls>
139
140
141
142
void _dispose() {
143
+ _focusNode.dispose();
144
controller.removeListener(_updateState);
145
_hideTimer?.cancel();
146
_initTimer?.cancel();
0 commit comments