padding method
Implementation
Padding padding(
{double? all,
double? left,
double? top,
double? right,
double? bottom,
Key? key}) {
if (all != null) {
return Padding(padding: EdgeInsets.all(all));
}
return Padding(
key: key,
padding: EdgeInsets.only(
left: left!, top: top!, right: right!, bottom: bottom!),
child: this,
);
}