iconPadding property

EdgeInsetsGeometry? iconPadding

Padding around the icon.

If there is no icon, no padding will be provided. Otherwise, this padding is used.

This property defaults to providing 24 pixels on the top, left, and right of the icon. If title is not null, 16 pixels of bottom padding is added to separate the icon from the title. If the title is null and content is not null, then no bottom padding is provided (but see contentPadding). In any other case 24 pixels of bottom padding is added.


final EdgeInsetsGeometry? iconPadding;