BarItem constructor
BarItem({})
Creates an item that is used with AnimatedTextBar.items.
The argument iconData or image both cannot be null. Either image or iconData can be given, not both.
Implementation
BarItem({
this.label,
this.image,
this.iconData,
this.activeColor,
this.inactiveColor,
this.borderRadius,
}) : assert(image != null || iconData != null),
assert(label != null);