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({
  Key? key,
  required Widget child,
  required this.padding,
}) : super(key: key, child: child);