padding method

T padding({
  1. EdgeInsetsGeometry? padding,
  2. double? all,
  3. double? left,
  4. double? top,
  5. double? right,
  6. double? bottom,
  7. double? horizontal,
  8. double? vertical,
  9. Duration? duration,
  10. Curve? curve,
  11. VoidCallback? onEnd,
})

Adds UiPadding.

Implementation

T padding({
  EdgeInsetsGeometry? padding, // overrides below
  double? all,
  double? left,
  double? top,
  double? right,
  double? bottom,
  double? horizontal,
  double? vertical,
  //
  Duration? duration,
  Curve? curve,
  VoidCallback? onEnd,
}) {
  return addChild(UiPadding(
    all: all,
    left: left,
    top: top,
    right: right,
    bottom: bottom,
    horizontal: horizontal,
    vertical: vertical,
    padding: padding,
    duration: duration,
    curve: curve,
    onEnd: onEnd,
  ));
}