ZdsSlidableAction constructor

ZdsSlidableAction(
  1. {required String label,
  2. void onPressed(
    1. BuildContext
    )?,
  3. IconData? icon,
  4. Color? backgroundColor,
  5. Color? foregroundColor,
  6. bool autoclose = true,
  7. EdgeInsets padding = EdgeInsets.zero,
  8. TextOverflow? textOverflow}
)

Defines an action that will be shown when sliding on a ZdsSlidableListTile. label must not be empty. backgroundColor, foregroundColor, and autoclose must not be null

Implementation

ZdsSlidableAction