ScaleButton constructor Null safety
Implementation
const ScaleButton({
Key? key,
Duration duration = const Duration(milliseconds: 300),
double bound = 0.2,
VoidCallback? onTap,
bool reverse = false,
required Widget child,
}) : this.duration = duration,
this.bound = bound,
this.onTap = onTap,
this.child = child,
this.reverse = reverse,
super(key: key);