iconMargin property

EdgeInsetsGeometry? iconMargin
final

The margin added around the tab's icon.

Only useful when used in combination with icon, and either one of text or child is non-null.

Defaults to 2 pixels of bottom margin. If ThemeData.useMaterial3 is false, then defaults to 10 pixels of bottom margin.

Implementation

final EdgeInsetsGeometry? iconMargin;