titlePadding property

EdgeInsetsGeometry? titlePadding
final

Defines how far the title is inset from either the widget's bottom-left or its center.

Typically this property is used to adjust how far the title is inset from the bottom-left and it is specified along with centerTitle false.

If centerTitle is true, then the title is centered within the flexible space bar with a bottom padding of 16.0 pixels.

If centerTitle is false and FlexibleSpaceBarSettings.hasLeading is true, then the title is aligned to the start of the flexible space bar with the titlePadding applied. If titlePadding is null, then defaults to start padding of 72.0 pixels and bottom padding of 16.0 pixels.

Implementation

final EdgeInsetsGeometry? titlePadding;