getHorizontalPadding method
Implementation
double getHorizontalPadding() {
if (widget.type == UFUInputBoxType.searchbar || widget.isExtWidget) {
if (showClearButton) return 0;
return 6;
}
if (widget.type == UFUInputBoxType.composeEmail) {
return 16;
}
return widget.padding?.horizontal ?? 15;
}