WheelItem constructor

WheelItem({
  1. required VoidCallback onTapCallback,
  2. required int selected,
  3. required int index,
  4. required String title,
  5. required IconData icon,
  6. required Alignment gradientAlignmentBegin,
  7. required Alignment gradientAlignmentEnd,
  8. Radius topLeft = Radius.zero,
  9. Radius topRight = Radius.zero,
  10. Radius bottomLeft = Radius.zero,
  11. Radius bottomRight = Radius.zero,
  12. required Offset shadowOffset,
  13. Color gradientStart = Colors.white,
  14. Color gradientEnd = Colors.teal,
  15. Color iconColor = Colors.blueGrey,
  16. Color iconColorActive = Colors.white,
  17. Color textColor = Colors.blueGrey,
  18. Color textColorActive = Colors.white,
  19. Color shadowColor = Colors.teal,
  20. double shadowBlurRadius = 4.0,
  21. double shadowSpreadRadius = 0.0,
  22. double? textSize,
  23. double? iconSize,
  24. Key? key,
})

Implementation

WheelItem(
    {required this.onTapCallback,
    required this.selected,
    required this.index,
    required this.title,
    required this.icon,
    required this.gradientAlignmentBegin,
    required this.gradientAlignmentEnd,
    this.topLeft = Radius.zero,
    this.topRight = Radius.zero,
    this.bottomLeft = Radius.zero,
    this.bottomRight = Radius.zero,
    required this.shadowOffset,
    this.gradientStart = Colors.white,
    this.gradientEnd = Colors.teal,
    this.iconColor = Colors.blueGrey,
    this.iconColorActive = Colors.white,
    this.textColor = Colors.blueGrey,
    this.textColorActive = Colors.white,
    this.shadowColor = Colors.teal,
    this.shadowBlurRadius = 4.0,
    this.shadowSpreadRadius = 0.0,
    this.textSize,
    this.iconSize,
    Key? key})
    : super(key: key);