gallery
gallery copied to clipboard
Demo swipe gesture for cards in gallery
From https://www.google.com/design/spec/components/cards.html#cards-behavior
"The swipe gesture may be used on a per-card basis. Limit swipe gestures within a view so that they don’t overlap with one another. For example, a swipeable card should not contain a swipeable image carousel, so that only a single action occurs when the card is swiped."
Presumably, our material widgets and framework already do this, so this can be something we show in gallery. However, if we need extra bits wired in for material, we should add that label.
Swipe should be handled by http://docs.flutter.io/flutter/widgets/Dismissable-class.html. We should show it in the gallery though.
Gesture from https://material.io/components/cards#behavior
This doesn't exist in https://gallery.flutter.dev/#/demo/card It can can added to the list after selectable card example
Should we transfer this issue to here https://github.com/flutter/gallery/issues ?