CustomSlidableAction constructor
- {required SlidableActionCallback? onPressed,
- required Widget child,
- int flex = _kFlex,
- Color backgroundColor = _kBackgroundColor,
- Color? foregroundColor,
- bool autoClose = _kAutoClose,
- BorderRadius borderRadius = BorderRadius.zero,
- EdgeInsets? padding,
- Key? key}
Creates a CustomSlidableAction.
The flex, backgroundColor, autoClose and child arguments must not be null.
The flex argument must also be greater than 0.
Implementation
const CustomSlidableAction