onReleased property
void Function()?
onReleased
getter/setter pair
Callback for what should happen when the button is released.
Implementation
void Function()? onReleased;
Callback for what should happen when the button is released.
void Function()? onReleased;