onTap property

void Function()? onTap
final

Optional custom tap handler.

If both route and onTap are provided, onTap takes precedence.

Implementation

final void Function()? onTap;