onControlClick property

void Function(Offset globalPosition)? onControlClick
getter/setter pair

Called with the global position of the click when the button is released.

Implementation

void Function(Offset globalPosition)? onControlClick;