SlideItem constructor

SlideItem({
  1. Key? key,
  2. required Widget child,
  3. required String valueKey,
  4. bool slideable = true,
  5. bool dismissible = true,
  6. String label = "",
  7. String? secondaryLabel,
  8. IconData? icon,
  9. IconData? secondaryIcon,
  10. Color? color,
  11. Color? secondaryColor,
  12. bool slideLeft = true,
  13. double extentRatio = 0.5,
  14. dynamic onAction()?,
  15. dynamic onSecondaryAction()?,
})

Implementation

SlideItem({
  Key? key,
  required this.child,
  required this.valueKey,
  this.slideable = true,
  this.dismissible = true,
  this.label = "",
  this.secondaryLabel,
  this.icon,
  this.secondaryIcon,
  this.color,
  this.secondaryColor,
  this.slideLeft = true,
  this.extentRatio = 0.5,
  this.onAction,
  this.onSecondaryAction,
}) : super(key: key);