setVerticalDragValue method

void setVerticalDragValue(
  1. double verticalDragValue
)

Sets the current value (brightness or volume).

Implementation

void setVerticalDragValue(double verticalDragValue) {
  if (_isDisposed) {
    return;
  }

  value = value.copyWith(verticalDragValue: verticalDragValue);
}