routeObserver property
When you push pages on top, the floating child will vanish and reappear when you return if you give it an RouteObserver linked to the main MaterialApp.
Implementation
final RouteObserver? routeObserver;
When you push pages on top, the floating child will vanish and reappear when you return if you give it an RouteObserver linked to the main MaterialApp.
final RouteObserver? routeObserver;