centerTitle property

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.

Implementation

final bool centerTitle