currentOffset property

Offset get currentOffset

The child's paint offset now.

Implementation

Offset get currentOffset {
  final p = effectivePress(
    _press.value,
    reduceMotion: _reduceMotion,
  ).clamp(0.0, 1.0);
  return _rest + _travel * p;
}