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