getImageButtonHeight static method
double
getImageButtonHeight(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
- double? imageHeight,
Implementation
static double getImageButtonHeight(BuildContext context,
{UpStyle? override,
UpStyle? style,
UpColorType? colorType,
double? imageHeight}) {
return override?.buttonHeight ??
style?.buttonHeight ??
imageHeight ??
getStyleByType(UpConfig.of(context).theme, colorType).buttonHeight ??
UpConstants.kDefaultStyleButtonHeight;
}