Flutter Negative Padding

pub github buy me a coffee

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: ...,
    ),
    ...
  ],
),

Libraries

negative_padding