BrandItem constructor

const BrandItem({
  1. Key? key,
  2. required Brand brand,
  3. void onTap(
    1. Brand brand
    )?,
})

Implementation

const BrandItem({
  Key? key,
  required this.brand,
  this.onTap,
}) : super(key: key);