useFromLocation function

HistoryLocation? useFromLocation(
  1. BuildContext context
)

Returns the previous accepted location, if any.

Implementation

HistoryLocation? useFromLocation(BuildContext context) {
  return RouteScopeProvider.of(context).fromLocation;
}