WheelItem constructor
WheelItem({
- required VoidCallback onTapCallback,
- required int selected,
- required int index,
- required String title,
- required IconData icon,
- required Alignment gradientAlignmentBegin,
- required Alignment gradientAlignmentEnd,
- Radius topLeft = Radius.zero,
- Radius topRight = Radius.zero,
- Radius bottomLeft = Radius.zero,
- Radius bottomRight = Radius.zero,
- required Offset shadowOffset,
- Color gradientStart = Colors.white,
- Color gradientEnd = Colors.teal,
- Color iconColor = Colors.blueGrey,
- Color iconColorActive = Colors.white,
- Color textColor = Colors.blueGrey,
- Color textColorActive = Colors.white,
- Color shadowColor = Colors.teal,
- double shadowBlurRadius = 4.0,
- double shadowSpreadRadius = 0.0,
- double? textSize,
- double? iconSize,
- 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);