ZeroListTileAction constructor
const
ZeroListTileAction({
- Key? key,
- bool autoClose = _kAutoClose,
- int flex = _kFlex,
- IconData? icon,
- Color backgroundColor = _kBackgroundColor,
- BorderRadius borderRadius = BorderRadius.zero,
- Color? foregroundColor,
- required String? label,
- SlidableActionCallback? onPressed,
- EdgeInsets? padding,
- double spacing = 4,
Creates a ZeroListTileAction.
The flex
, backgroundColor
, autoClose
and spacing
arguments
must not be null.
You must set either an icon
or a label
.
The flex
argument must also be greater than 0.
Implementation
const ZeroListTileAction({
super.key,
super.autoClose,
super.flex,
super.icon,
super.backgroundColor,
super.borderRadius,
super.foregroundColor,
required super.label,
super.onPressed,
super.padding,
super.spacing,
});