Padding constructor

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

Creates a widget that insets its child.

Implementation

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