SwipeOptions.all constructor

const SwipeOptions.all()

If top, left, right, bottom all are true/false then simply make the allDirections true.

Implementation

const SwipeOptions.all()
    : up = true,
      down = true,
      left = true,
      right = true;