dispose method

  1. @override
Future<void> dispose()
override

Implementation

@override
Future<void> dispose() async {
  super.dispose();
  target = null;
  _styleChangeListeners.clear();
  reset();
}