BounceElevatedButton constructor
const
BounceElevatedButton({
- required VoidCallback onPressed,
- Widget? child,
- double size = BouncingWidgetSize.MEDIUM,
- double widthFactor = 1.3,
- Color color = BouncingWidgetColor.PRIMARY,
- BorderRadiusGeometry? borderRadius,
- BoxBorder? border,
- Gradient? gradient,
- BoxShape? shape,
- List<
BoxShadow> ? boxShadow, - bool isScrollable = false,
- double scaleFactor = 1,
- Duration duration = const Duration(milliseconds: 200),
- bool canReverse = false,
- Key? key,
Implementation
const BounceElevatedButton({
required this.onPressed,
this.child,
this.size = BouncingWidgetSize.MEDIUM,
this.widthFactor = 1.3,
this.color = BouncingWidgetColor.PRIMARY,
this.borderRadius,
this.border,
this.gradient,
this.shape,
this.boxShadow,
this.isScrollable = false,
this.scaleFactor = 1,
this.duration = const Duration(milliseconds: 200),
this.canReverse = false,
Key? key,
}) : super(key: key);