screenDataProvider property

WTScreenDataProvider? Function(Route route)? screenDataProvider
final

Optional callback to supply custom screen data for a given Route.

Called with highest priority — before route-name parsing and runtime-type fallback. Return a WTScreenDataProvider to override name/displayName/params, or null to continue with automatic resolution.

Implementation

final WTScreenDataProvider? Function(Route<dynamic> route)?
    screenDataProvider;