padding property

EdgeInsetsGeometry? padding

The amount of space by which to inset the tab bar.

When isScrollable is false, this will yield the same result as if TabBar was wrapped in a Padding widget. When isScrollable is true, the scrollable itself is inset, allowing the padding to scroll with the tab bar, rather than enclosing it.


final EdgeInsetsGeometry? padding;