addListener method
Adds a listener and calls the listener upon registration.
Implementation
@override
void addListener(VoidCallback listener) {
super.addListener(listener);
listener();
}
Adds a listener and calls the listener upon registration.
@override
void addListener(VoidCallback listener) {
super.addListener(listener);
listener();
}