getButtonTextFit static method
BoxFit
getButtonTextFit(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static BoxFit getButtonTextFit(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.buttonTextFit ??
style?.buttonTextFit ??
getStyleByType(UpConfig.of(context).theme, colorType).buttonTextFit ??
BoxFit.none;
}