PaddingModifier constructor

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

Creates a widget that insets its child.

The padding argument must not be null.

Implementation

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