indicatorPadding property

EdgeInsetsGeometry indicatorPadding
final

Padding for indicator. This property will now no longer be ignored even if indicator is declared or provided by TabBarTheme

For isScrollable tab bars, specifying kTabLabelPadding will align the indicator with the tab's text for CustomTab widgets and all but the shortest CustomTab.text values.

The default value of indicatorPadding is EdgeInsets.zero.

Implementation

final EdgeInsetsGeometry indicatorPadding;