FloraButtonOptions constructor

const FloraButtonOptions({
  1. bool enableTapDownAnimation = true,
  2. TextStyle? titleStyle,
  3. double upperBound = 0.1,
  4. double lowerBound = 0.0,
  5. double tapScale = 0.5,
  6. double? height,
  7. double? width = double.infinity,
  8. EdgeInsets margin = EdgeInsets.zero,
  9. EdgeInsets? padding,
  10. Border? border,
  11. BorderRadius? borderRadius,
  12. List<BoxShadow>? boxShadow,
  13. Color? color,
  14. Duration animationDuration = const Duration(milliseconds: 200),
  15. Color? focusColor,
  16. Color? hoverColor,
  17. Color? highlightColor,
  18. MaterialStateProperty<Color?>? overlayColor,
  19. Color? splashColor,
  20. 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,
});