padding property

EdgeInsetsGeometry? padding
final

The amount of padding to apply to the snack bar's content and optional action.

If this property is null, then the default depends on the behavior and the presence of an action. The start padding is 24 if behavior is SnackBarBehavior.fixed and 16 if it is SnackBarBehavior.floating. If there is no action, the same padding is added to the end.

Implementation

final EdgeInsetsGeometry? padding;