RCKSlidableActionConfig constructor

const RCKSlidableActionConfig({
  1. required String? iconPath,
  2. required Color backgroundColor,
  3. String? undoIconPath,
  4. String label = '',
  5. Color foregroundColor = Colors.white,
  6. required SlidableActionType actionType,
  7. bool autoClose = true,
})

Implementation

const RCKSlidableActionConfig({
  required String? iconPath,
  required this.backgroundColor,
  this.undoIconPath,
  this.label = '',
  this.foregroundColor = Colors.white,
  required this.actionType,
  this.autoClose = true,
}) : iconPath = iconPath ?? '';