SwipeOptions.symmetric constructor

const SwipeOptions.symmetric({
  1. bool horizontal = false,
  2. bool vertical = false,
})

Implementation

const SwipeOptions.symmetric({
  bool horizontal = false,
  bool vertical = false,
})  : up = vertical,
      down = vertical,
      left = horizontal,
      right = horizontal;