onHighlightChanged property
Called by the underlying InkWell widget's InkWell.onHighlightChanged callback.
If onPressed changes from null to non-null while a gesture is ongoing, this can fire during the build phase (in which case calling State.setState is not allowed).
Implementation
final ValueChanged<bool>? onHighlightChanged;