Indicator constructor
Indicator({
- required AnimationController normalController,
- required AnimationController highlightedController,
- int index = 0,
normalController Animation controller when state changes to normal
highlightedController Animation controller when state changes to selected
widget Indicator widget
builder Widgetbuilder object
index Determine index on the stack
Implementation
Indicator({
required this.normalController,
required this.highlightedController,
this.index = 0,
});