onPress property

VoidCallback? onPress
final

Adds the onTap VoidCallback to the animated button.

Implementation

final VoidCallback? onPress;