SpringButton constructor
- Key? key,
- required Widget child,
- VoidCallback? onPressed,
- double pressedScale = 0.93,
Creates a press-spring wrapper around child.
Implementation
const SpringButton({
super.key,
required this.child,
this.onPressed,
this.pressedScale = 0.93,
});