Features

The widget used to update application title when it created, disposed, or rebuild

Can be used with multiple/nested PageTitle and the latest one used to update application title

Examples

PageTitle(
    title: 'Page title',
    child: const Other(),
);
MaterialApp(
    onGenerateTitle: (context) => PageTitle.current(context) ?? 'My App',
    //other config
);

Libraries

pagetitle