withPadding method

Widget withPadding()

Implementation

Widget withPadding() {
  return Container(
      color: backgroundColor ?? sunnyColors.appBarBackground,
      child: this,
      padding: EdgeInsets.only(
        top: 8.px,
        bottom: 16.px,
        left: 16.px,
        right: 16.px,
      ));
}