SlideDismissible constructor
SlideDismissible({
- Key? key,
- required Widget child,
- @Deprecated('use directions instead.') bool enable = true,
- DismissDirection? direction,
Implementation
SlideDismissible({
Key? key,
required this.child,
@Deprecated('use directions instead.') bool enable = true,
DismissDirection? direction,
}) : direction = direction ??
(enable ? DismissDirection.horizontal : DismissDirection.none),
super(key: key);