actionSign property

double actionSign

If the actionType is SlideActionType.primary returns 1, -1 otherwise.

Implementation

double get actionSign => actionType == SlideActionType.primary ? 1.0 : -1.0;