Optional custom tap handler.
If both route and onTap are provided, onTap takes precedence.
final void Function()? onTap;