onBuyProduct property
final
"Buy" on a product card. Return true when you handled it (for example
with an in-app purchase); false falls back to prefilling the composer.
Implementation
final FutureOr<bool> Function(BuildContext context, ProductCardItem product)? onBuyProduct;