padding property

LBoxEdgeInsets padding
final

The padding around the child at each breakpoint

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

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

Implementation

final LBoxEdgeInsets padding;