margin property

LBoxEdgeInsets margin
final

The margin around the child at each breakpoint

example: Image will have different margin in xs and md LBreakPoint

...
child: LBox(
  margin: LBoxEdgeInsets(
    xs: const EdgeInsets.all(2.0),
    md: const EdgeInsets.all(15.0),
  ),
  child:
      Image.network("https://source.unsplash.com/random/"),
),
...

Implementation

final LBoxEdgeInsets margin;