• Hans Muller's avatar
    Add Dismissable support for DismissDirection · 4e01c054
    Hans Muller authored
    ```
    enum DismissDirection {
      vertical,
      horizontal,
      left,
      right,
      up,
      down
    }
    ```
    
    To only enable dismissing to the right create the `Dismissable` with `direction: DismissDirection.right`. By default direction is `DismissDirection.horizontal` (left or right).
    
    Updated the card_collection "Swipe Away" demo with a drawer that can be used to select one of the three X axis dismiss directions. Currently the MixedViewport class doesn't support horizontal scrolling, so the demo doesn't support the X axis dismiss directions.
    4e01c054
Name
Last commit
Last update
..
bin Loading commit data...
lib Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
README.md Loading commit data...
pubspec.yaml Loading commit data...