ClosableSlideAction constructor
const
ClosableSlideAction({
- Key? key,
- Color? color,
- VoidCallback? onTap,
- bool closeOnTap = _kCloseOnTap,
Creates a slide that closes when a tap has occurred if closeOnTap
is true
.
The closeOnTap argument must not be null.
Implementation
const ClosableSlideAction({
Key? key,
this.color,
this.onTap,
this.closeOnTap = _kCloseOnTap,
}) : super(key: key);