paddingCustom method

Padding paddingCustom(
  1. EdgeInsetsGeometry padding
)

Wraps this widget with custom Padding.

Returns a Padding widget with the specified padding geometry.

Implementation

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