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