negative_padding 0.0.1 negative_padding: ^0.0.1 copied to clipboard
A Flutter widget that oversizes its child by the given padding.
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: ...,
),
...
],
),