getPhotoButton method
- BuildContext context,
- Product product,
- bool isLoggedInMandatory
Implementation
Widget getPhotoButton(
BuildContext context,
Product product,
bool isLoggedInMandatory,
) => SmoothLargeButtonWithIcon(
onPressed: () async => openDetails(context, product, isLoggedInMandatory),
leadingIcon: const Icon(Icons.camera_alt),
text: getProductImageButtonText(AppLocalizations.of(context)),
);