getImageButtonWidth static method
double
getImageButtonWidth(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
- double? imageWidth,
Implementation
static double getImageButtonWidth(BuildContext context,
{UpStyle? override,
UpStyle? style,
UpColorType? colorType,
double? imageWidth}) {
return override?.buttonWidth ??
style?.buttonWidth ??
imageWidth ??
getStyleByType(UpConfig.of(context).theme, colorType).buttonWidth ??
UpConstants.kDefaultStyleButtonWidth;
}