openDetails method

Future<void> openDetails(
  1. BuildContext context,
  2. Product product,
  3. 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,
    ),
  ),
);