AnimatedDeleteButton constructor

const AnimatedDeleteButton({
  1. Key? key,
  2. required VoidCallback onDelete,
  3. double? size,
  4. Color? backgroundColor,
  5. Color? deleteColor,
  6. Color? dustColor,
  7. Duration animationDuration = const Duration(milliseconds: 2000),
  8. bool enabled = true,
})

Implementation

const AnimatedDeleteButton({
  super.key,
  required this.onDelete,
  this.size,
  this.backgroundColor,
  this.deleteColor,
  this.dustColor,
  this.animationDuration = const Duration(milliseconds: 2000),
  this.enabled = true,
});