Padding constructor Null safety
- {Key? key,
- required EdgeInsetsGeometry padding,
- Widget? child}
Creates a widget that insets its child.
The padding argument must not be null.
Implementation
const Padding({
super.key,
required this.padding,
super.child,
}) : assert(padding != null);