RPadding constructor

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

Creates an adapt widget that insets its child.

The padding argument must not be null.

Implementation

const RPadding({
  super.key,
  required Widget super.child,
  required this.padding,
});