Flutter Negative Padding
A Flutter widget that oversizes its child by the given padding.
Usage
This widget is intended to be used with flex widgets such as Row
and Column
.
Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
...
NegativePadding(
padding: EdgeInsets.symmetric(horizontal: 32),
child: ...,
),
...
],
),
Comments are closed.