AnimatedButton constructor

AnimatedButton({
  1. double? height,
  2. double? width,
  3. String? buttonText,
  4. Color textNormalCcolor = const Color(0xffff62b2),
  5. Color borderNormalColor = const Color(0xffff62b2),
  6. Color backgroundNormalColor = Colors.white,
  7. Color textSelectCcolor = Colors.white,
  8. Color borderSelectColor = const Color(0xffff62b2),
  9. Color backgroundSelectColor = const Color(0xffff62b2),
  10. double borderRaidus = 5.0,
  11. Function? clickCallback,
})

Implementation

AnimatedButton({
  this.height,
  this.width,
  this.buttonText,
  this.textNormalCcolor = const Color(0xffff62b2),
  this.borderNormalColor = const Color(0xffff62b2),
  this.backgroundNormalColor = Colors.white,
  this.textSelectCcolor = Colors.white,
  this.borderSelectColor = const Color(0xffff62b2),
  this.backgroundSelectColor = const Color(0xffff62b2),
  this.borderRaidus = 5.0,
  this.clickCallback,
});