FloraButtonOptions constructor
const
FloraButtonOptions({
- bool enableTapDownAnimation = true,
- TextStyle? titleStyle,
- double upperBound = 0.1,
- double lowerBound = 0.0,
- double tapScale = 0.5,
- double? height,
- double? width = double.infinity,
- EdgeInsets margin = EdgeInsets.zero,
- EdgeInsets? padding,
- Border? border,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? boxShadow, - Color? color,
- Duration animationDuration = const Duration(milliseconds: 200),
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- MaterialStateProperty<
Color?> ? overlayColor, - Color? splashColor,
- BoxShape shape = BoxShape.rectangle,
Implementation
const FloraButtonOptions({
this.enableTapDownAnimation = true,
this.titleStyle,
/// FloraAnimatedCardOptions
super.upperBound = 0.1,
super.lowerBound,
super.tapScale,
// FloraCardOptions
super.height,
super.width = double.infinity,
super.margin,
super.padding,
super.border,
super.borderRadius,
super.boxShadow,
super.color,
super.animationDuration = const Duration(milliseconds: 200),
super.focusColor,
super.hoverColor,
super.highlightColor,
super.overlayColor,
super.splashColor,
super.shape,
});