dispose method
Overwrite to dispose when this object is removed from the tree
Implementation
@override
void dispose() {
valueListenable?.removeListener(markForRebuild);
super.dispose();
}
Overwrite to dispose when this object is removed from the tree
@override
void dispose() {
valueListenable?.removeListener(markForRebuild);
super.dispose();
}