getListPadding method

EdgeInsets? getListPadding()

Implementation

EdgeInsets? getListPadding() {
  if (!widget.doAddFloatingButtonMargin) {
    return widget.padding;
  } else if (widget.padding != null) {
    return widget.padding?.copyWith(
      bottom: UFUResponsiveDesign.floatingButtonSize,
    );
  } else {
    return UFUResponsiveDesign.floatingButtonPadding;
  }
}