value property

int get value

Current value of the column

Implementation

int get value => _value;
set value (int newValue)

Set the current value

Implementation

set value(int newValue) {
  final clampedValue = newValue.clamp(minValue, maxValue);
  _value = clampedValue;
  valueNotifier.value = clampedValue;
  scrollController.jumpToItem(clampedValue - minValue);
}