GenerateAppTitle typedef

String GenerateAppTitle (BuildContext context)

The signature of WidgetsApp.onGenerateTitle.

Used to generate a value for the app's Title.title, which the device uses to identify the app for the user. The context includes the WidgetsApp's Localizations widget so that this method can be used to produce a localized title.

This function must not return null.

Implementation

typedef GenerateAppTitle = String Function(BuildContext context);