Closed hsul4n closed 4 years ago
Looks great to implement onTap & onLongPress to handle click action.
onTap
onLongPress
For example:
Bubble( onTap: () { print('Hello from onTap'); }, onLongPress: () { print('Hello from onLongPress'); }, // .. other properties ),
I'm not sure that's a good idea. Use GestureDetector!
@hsul4n did you resolve?
as @vi-k says GestureDetector works like charm!
GestureDetector
Looks great to implement
onTap
&onLongPress
to handle click action.For example: