RollingItem constructor

const RollingItem(
  1. int index, {
  2. IconData? iconData,
  3. String? label,
  4. Color? color,
  5. ValueChanged<int>? onTap,
})

Implementation

const RollingItem(this.index,
    {this.iconData, this.label, this.color, this.onTap});