didPushNext method
Called when a new route has been pushed, and the current route is no longer visible.
Implementation
@override
void didPushNext() {
setState(() => visible = false);
}
Called when a new route has been pushed, and the current route is no longer visible.
@override
void didPushNext() {
setState(() => visible = false);
}