CardItem constructor

const CardItem({
  1. Key? key,
  2. required Animation<double> animation,
  3. required int item,
  4. VoidCallback? onTap,
  5. bool selected = false,
})

Implementation

const CardItem({
  Key? key,
  required this.animation,
  required this.item,
  this.onTap,
  this.selected = false,
}) :super(key: key);