onLongPress property
onLongPress is a void function well be called when the button is pressed for long.
Implementation
final VoidCallback? onLongPress;
onLongPress is a void function well be called when the button is pressed for long.
final VoidCallback? onLongPress;