value property

double get value

Raw sheet position as a screen-height fraction (0.0–1.0).

Reading during an animation gives the instantaneous value. Setting this property jumps the sheet without animation — useful for syncing to a drag gesture's direct-manipulation offset.

Implementation

double get value => _state?._currentPosition ?? 0.0;
set value (double newValue)

Implementation

set value(double newValue) {
  _state?._jumpTo(newValue);
}