centerTitle property Null safety

bool? centerTitle
final

Whether the title should be centered.

If this property is null, then AppBarTheme.centerTitle of ThemeData.appBarTheme is used. If that is also null, then value is adapted to the current TargetPlatform.

This property is used to configure an AppBar.

Implementation

final bool? centerTitle;