withPadding method

Widget withPadding(
  1. EdgeInsetsGeometry padding
)

Wrap this widget with a padding for a given EdgeInsetsGeometry

Implementation

Widget withPadding(EdgeInsetsGeometry padding) {
  return Padding(padding: padding, child: this);
}