linkGenerator property
The function to create deep links for this page.
This function generates a deep link path from the given pageData.
The return value must match the keys (regular expressions) passed to links and their corresponding R pageData destinations.
The generated link can be either an absolute path (starting with '/') or a relative path. When generateLink is used, it builds the complete deep link path by combining this function's return value with the parent page's path if the link is relative.
See also:
- generateLink, which uses this function to build the complete deep link path.
Implementation
final String Function(R pageData)? linkGenerator;