AnimatedButton constructor

const AnimatedButton({
  1. Key? key,
  2. void onTap(
    1. ButtonController controller
    )?,
  3. double? height = 40,
  4. double? width,
  5. double? radius,
  6. String? text = 'On Tap',
  7. Gradient? btnGradient,
  8. Color? btnColor,
  9. Duration? duration,
  10. bool? btnShadow,
  11. TextStyle? textStyle,
  12. Widget? icon,
  13. IconLocation? iconLocation,
})

Implementation

const AnimatedButton({
  super.key,
  this.onTap,
  this.height = 40,
  this.width,
  this.radius,
  this.text = 'On Tap',
  this.btnGradient,
  this.btnColor,
  this.duration,
  this.btnShadow,
  this.textStyle,
  this.icon,
  this.iconLocation,
});