customColor property

(Color Function(int)?) customColor
final

Assign a custom Color for each step

Function takes a int, index of the current step starting from 0, and must return a Color

NOTE: If provided, it overrides selectedColor and unselectedColor

customColor: (index) => index == 0 ? Colors.red : Colors.blue,

Implementation

final Color Function(int)? customColor;