indicatorPadding property
Default TabBar parameter
The padding for the indicator.
The default value of this property is EdgeInsets.zero.
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.
Implementation
final EdgeInsetsGeometry indicatorPadding;