Indicator constructor
const
Indicator({})
Usage example:
Indicator(
itemCount: 3,
selectedItem: 1,
)
This will create a row of three indicators with the second indicator marked as active.
Implementation
const Indicator({
super.key,
required this.itemCount,
required this.selectedItem,
this.activeRadius = 4,
this.inactiveRadius = 2.5,
this.activeColor = Colors.black,
this.inactiveColor = Colors.grey,
this.spaceBetween = 10,
});