On optional listener that's called when the centered item changes.
final ValueChanged<double> onChanged;