centerTitle property

bool? centerTitle
final

Whether the title should be centered.

If the length of the title is greater than the available space, set this property to false. This aligns the title to the start of the flexible space bar and applies titlePadding to the title.

By default this property is true if the current target platform is TargetPlatform.iOS or TargetPlatform.macOS, false otherwise.

Implementation

final bool? centerTitle;