• 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
..
animation Loading commit data...
base Loading commit data...
editing Loading commit data...
gestures Loading commit data...
mojo Loading commit data...
painting Loading commit data...
src Loading commit data...
theme Loading commit data...
README.md Loading commit data...
rendering.dart Loading commit data...
sky_tool Loading commit data...
widgets.dart Loading commit data...