labelPadding property

EdgeInsetsGeometry? get labelPadding

Overrides the default value for TabBar.labelPadding.

This property is obsolete and will be deprecated in a future release: please use the TabBarThemeData.labelPadding property in data instead.

Implementation

EdgeInsetsGeometry? get labelPadding => _data != null ? _data.labelPadding : _labelPadding;