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 Tab widgets and all but the shortest Tab.text values.

The default value of indicatorPadding is EdgeInsets.zero.

Implementation

final EdgeInsetsGeometry indicatorPadding;