SwipeToDelete constructor

SwipeToDelete({
  1. bool enabled = true,
  2. ScanbotColor? backgroundColor,
  3. ScanbotColor? iconColor,
})

Implementation

SwipeToDelete({
  this.enabled = true,
  ScanbotColor? backgroundColor,
  ScanbotColor? iconColor,
})  : backgroundColor = backgroundColor ?? ScanbotColor("?sbColorNegative"),
      iconColor = iconColor ?? ScanbotColor("?sbColorOnPrimary");