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;