dispose method
Releases the resources used by this object.
Ensures:
- Disposes the active or dormant delegate and notifies parent listeners.
AI & Developer Note: After calling dispose, this controller cannot be reused.
Example:
controller.dispose();
Implementation
@override
void dispose() {
_delegate.dispose();
super.dispose();
}