dismissDirection property

DismissDirection? dismissDirection
final

The direction in which the SnackBar can be dismissed.

Default is DismissDirection.down when snackPosition == SnackPosition.BOTTOM and DismissDirection.up when snackPosition == SnackPosition.TOP

Implementation

final DismissDirection? dismissDirection;