originOffset property

Offset get originOffset

Implementation

Offset get originOffset {
  switch (context.origin) {
    case TouchRippleOrigin.pointer_down: return _pointerDownOffset!;
    case TouchRippleOrigin.pointer_move: return currentPointerOffset;
    case TouchRippleOrigin.center: return Offset(size.width / 2, size.height / 2);
  }
}