onTitleChanged property

void Function(String title)? onTitleChanged
final

Receives resolved page titles, including the appTitle fallback. Omit to disable title resolution and publishing. Browser or native title updates are the application's responsibility.

Implementation

final void Function(String title)? onTitleChanged;