openDetails method
- BuildContext context,
- Product product,
- bool isLoggedInMandatory
Implementation
Future<void> openDetails(
BuildContext context,
Product product,
bool isLoggedInMandatory,
) => Navigator.push(
context,
MaterialPageRoute<void>(
builder: (_) => ProductImageSwipeableView.imageField(
imageField: this,
product: product,
isLoggedInMandatory: isLoggedInMandatory,
),
),
);