margin property
final
If disableBorder == true
the Surface margin is properly handled by
innerSurface
; but otherwise margin applies to borderContainer
and
the Surface as a whole, ignored by innerSurface
.
padding is always ignored by the borderContainer
as its padding
determines the borderThickness for a Surface.
However, see paddingStyle for options on how to distribute the passed padding between (default) SurfacePadding.PAD_CHILD or perhaps SurfacePadding.PAD_SURFACE.
Implementation
final EdgeInsets margin, padding;