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