top property
Route?
get
top
Gets the top route in the navigation stack.
Implementation
Route<dynamic>? get top => _history.last;
Gets the top route in the navigation stack.
Route<dynamic>? get top => _history.last;