canGoBack property
bool
get
canGoBack
Returns a boolean value indicating whether there is a previous index in the history list.
Implementation
bool get canGoBack => history.length > 1;
Returns a boolean value indicating whether there is a previous index in the history list.
bool get canGoBack => history.length > 1;