AddToCartIcon constructor

const AddToCartIcon({
  1. required GlobalKey<CartIconKey> key,
  2. required Widget icon,
  3. BadgeOptions badgeOptions = const BadgeOptions(),
})

Implementation

const AddToCartIcon({
  required this.key,
  required this.icon,
  this.badgeOptions = const BadgeOptions(),
}) : super(key: key);