didPush method

  1. @override
void didPush()
override

Called when the current route has been pushed.

Implementation

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