gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Demo swipe gesture for cards in gallery

Open sethladd opened this issue 8 years ago • 4 comments

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."

sethladd avatar May 17 '16 19:05 sethladd

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.

sethladd avatar May 17 '16 19:05 sethladd

Swipe should be handled by http://docs.flutter.io/flutter/widgets/Dismissable-class.html. We should show it in the gallery though.

abarth avatar May 17 '16 19:05 abarth

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

TahaTesser avatar May 21 '20 15:05 TahaTesser

Should we transfer this issue to here https://github.com/flutter/gallery/issues ?

Abhishek01039 avatar May 12 '21 11:05 Abhishek01039