dynamicSizeEquation property
Custom equation to determine dynamic item scaling calculation
Input parameter is distance between item position and center of ScrollSnapList (Negative for left side, positive for right side)
Output value is scale size (must be >=0, 1 is normal-size)
Need to set dynamicItemSize
to true
Implementation
final double Function(double distance)? dynamicSizeEquation;