OnRelease typedef

OnRelease = void Function(BuildContext context, ReleaseContext data)

Signature for a gesture-end handler. Consumer receives raw inputs via ReleaseContext; calls Release.toDisplay(data) (or builds a custom plan) and runs it via Stage.of(context).release(...) / .run(...).

Implementation

typedef OnRelease = void Function(BuildContext context, ReleaseContext data);