AllowedSwipeDirection.symmetric constructor
AllowedSwipeDirection.symmetric({
- dynamic horizontal = false,
- dynamic vertical = false,
Allow the card to be swiped symmetrically in horizontal or vertical directions
Implementation
factory AllowedSwipeDirection.symmetric({
horizontal = false,
vertical = false,
}) =>
AllowedSwipeDirection._(
up: vertical,
down: vertical,
right: horizontal,
left: horizontal,
);