ExploreButton constructor
const
ExploreButton({
- Key? key,
- String text = 'Explore',
- VoidCallback? onPressed,
- double width = 180,
- double height = 46,
- Duration animationDuration = const Duration(milliseconds: 300),
- bool isEnabled = true,
- Color initialBackgroundColor = Colors.white,
- Color hoverBackgroundColor = const Color(0xFF00BCD4),
- Color initialTextColor = Colors.black,
- Color hoverTextColor = Colors.white,
- Color initialBorderColor = Colors.black,
- Color hoverBorderColor = Colors.white,
- Color initialArrowCircleColor = Colors.black,
- 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);