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