title property

FutureOr<String> Function(RouteState)? title
final

Resolves this page's title from its URI state when title publishing is enabled.

A missing, empty or failed title uses the router's appTitle fallback. Set the router's onTitleChanged callback to enable title resolution.

Implementation

final FutureOr<String> Function(RouteState)? title;