dispose method
Release any resources held by this node.
Implementation
@override
void dispose() {
_viewport = null;
gestureListener = null;
widgetDelegate = null;
styleSheets.clear();
adoptedStyleSheets.clear();
super.dispose();
}
Release any resources held by this node.
@override
void dispose() {
_viewport = null;
gestureListener = null;
widgetDelegate = null;
styleSheets.clear();
adoptedStyleSheets.clear();
super.dispose();
}