paddingTLBR method

Padding paddingTLBR(
  1. double top,
  2. double left,
  3. double bottom,
  4. double right,
)

Wraps this widget with padding specified individually for each side.

Parameters:

  • top: Top padding value
  • left: Left padding value
  • bottom: Bottom padding value
  • right: Right padding value

Implementation

Padding paddingTLBR(double top, double left, double bottom, double right) {
  return Padding(
      padding:
          EdgeInsets.only(top: top, left: left, bottom: bottom, right: right),
      child: this);
}