onGenerateTitle property

GenerateAppTitle? onGenerateTitle
final

If non-null this callback function is called to produce the app's title string, otherwise title is used.

The onGenerateTitle context parameter includes the WidgetsApp's Localizations widget so that this callback can be used to produce a localized title.

This callback function must not return null.

The onGenerateTitle callback is called each time the WidgetsApp rebuilds.

Implementation

final GenerateAppTitle? onGenerateTitle;