withPadding method
Implementation
Widget withPadding() {
return Padding(
child: this,
padding: EdgeInsets.only(
top: 8.px,
bottom: 16.px,
left: 16.px,
right: 16.px,
));
}
Widget withPadding() {
return Padding(
child: this,
padding: EdgeInsets.only(
top: 8.px,
bottom: 16.px,
left: 16.px,
right: 16.px,
));
}