margin property

EdgeInsetsGeometry? margin
final

Empty space to surround the MaterialBanner.

If the margin is null then this defaults to 0 if the banner's elevation is 0, 10 otherwise.

Implementation

final EdgeInsetsGeometry? margin;