Widget.padding constructor Null safety

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

Implementation

const factory Widget.padding({
  Key? key,
  required EdgeInsets padding,
  required Widget child,
}) = Padding;