ItemWidget constructor

const ItemWidget({
  1. Key? key,
  2. required FeatureModel item,
  3. required dynamic onVote(
    1. String,
    2. String
    ),
})

Implementation

const ItemWidget({
  super.key,
  required this.item,
  required this.onVote,
});