getRightIconPaddingIfNeeded method

Widget? getRightIconPaddingIfNeeded()

Implementation

Widget? getRightIconPaddingIfNeeded() {
  if (getDismissOrRightIcon() != null) {
    return SizedBox(width: size._rightIconPadding);
  } else {
    return null;
  }
}