CHoldButton constructor

const CHoldButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. required IconData icon,
  4. double bsize = 70.0,
  5. double isize = 36.0,
  6. Color baseColor = Colors.teal,
  7. CHoldButtonAnimationType animationType = CHoldButtonAnimationType.pulseOnly,
})

Implementation

const CHoldButton({
  super.key,
  required this.onPressed,
  required this.icon,
  this.bsize = 70.0,
  this.isize = 36.0,
  this.baseColor = Colors.teal,
  this.animationType = CHoldButtonAnimationType.pulseOnly,
});