ExploreButton constructor

const ExploreButton({
  1. Key? key,
  2. String text = 'Explore',
  3. VoidCallback? onPressed,
  4. double width = 180,
  5. double height = 46,
  6. Duration animationDuration = const Duration(milliseconds: 300),
  7. bool isEnabled = true,
  8. Color initialBackgroundColor = Colors.white,
  9. Color hoverBackgroundColor = const Color(0xFF00BCD4),
  10. Color initialTextColor = Colors.black,
  11. Color hoverTextColor = Colors.white,
  12. Color initialBorderColor = Colors.black,
  13. Color hoverBorderColor = Colors.white,
  14. Color initialArrowCircleColor = Colors.black,
  15. Color hoverArrowCircleColor = Colors.white,
})

Implementation

const ExploreButton({
  Key? key,
  this.text = 'Explore',
  this.onPressed,
  this.width = 180,
  this.height = 46,
  this.animationDuration = const Duration(milliseconds: 300),
  this.isEnabled = true,
  this.initialBackgroundColor = Colors.white,
  this.hoverBackgroundColor = const Color(0xFF00BCD4),
  this.initialTextColor = Colors.black,
  this.hoverTextColor = Colors.white,
  this.initialBorderColor = Colors.black,
  this.hoverBorderColor = Colors.white,
  this.initialArrowCircleColor = Colors.black,
  this.hoverArrowCircleColor = Colors.white,
}) : super(key: key);