ActionButton constructor
const
ActionButton({
- Key? key,
- required String text,
- required VoidCallback onTap,
- required Color onHoverBackgroundColor,
- required Color textColor,
- required Color onHoverTextColor,
- required Color backgroundColor,
- required Duration animationDuration,
- required FontWeight fontWeight,
- required FontWeight onHoverFontWeight,
- required Color borderColor,
- required Color onHoverBorderColor,
- required double borderRadius,
- required EdgeInsets contentPadding,
- Curve? actionButtonAnimationCurve,
- double? fontSize,
- TextStyle? textStyle,
Implementation
const ActionButton({
Key? key,
required this.text,
required this.onTap,
required this.onHoverBackgroundColor,
required this.textColor,
required this.onHoverTextColor,
required this.backgroundColor,
required this.animationDuration,
required this.fontWeight,
required this.onHoverFontWeight,
required this.borderColor,
required this.onHoverBorderColor,
required this.borderRadius,
required this.contentPadding,
this.actionButtonAnimationCurve,
this.fontSize,
this.textStyle,
}) : super(key: key);