customSize property

(double Function(int, bool)?) customSize
final

Assign a custom size double for each step

Function takes a int, index of the current step starting from 0, and a bool, which tells if the step is selected based on currentStep, and must return a double size of the step

NOTE: If provided, it overrides size, selectedSize, and unselectedSize

Implementation

final double Function(int, bool)? customSize;