OverflowPadding constructor

const OverflowPadding({
  1. Key? key,
  2. required EdgeInsetsGeometry padding,
  3. Widget? child,
})

Creates a widget that insets its child.

The padding argument must not be null.

Implementation

const OverflowPadding({
  Key? key,
  required this.padding,
  Widget? child,
}) : super(key: key, child: child);