pagetitle 0.0.2 pagetitle: ^0.0.2 copied to clipboard
The widget used to update application title when it created, disposed, or rebuild
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
);