showLocationPrices static method
Implementation
static Future<void> showLocationPrices({
required int locationId,
required BuildContext context,
}) async => Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (BuildContext context) => PricesPage(
GetPricesModel(
parameters: GetPricesModel.getStandardPricesParameters()
..locationId = locationId,
displayEachLocation: false,
uri: OpenPricesAPIClient.getUri(
path: 'locations/$locationId',
uriHelper: ProductQuery.uriPricesHelper,
),
title: AppLocalizations.of(
context,
).all_search_prices_top_location_single_title,
),
),
),
);