didPopNext method

  1. @override
void didPopNext()
override

Called when the top route has been popped off, and the current route shows up.

Implementation

@override
void didPopNext() {
  setState(() => visible = true);
}