route property
The ModalRoute the node lived on when the ref was minted, or null
when it had none. Held weakly so a ref outliving its screen never keeps
a popped route alive; a collected target means the screen is gone, and
relocation treats that as a different route.
Implementation
final WeakReference<Route<dynamic>>? route;