getBorderWidth static method
double
getBorderWidth(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static double getBorderWidth(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.borderWidth ??
style?.borderWidth ??
getStyleByType(
(FlutterUpConfig.of(context)?.theme ??
UpConstants.kDefaultTheme),
colorType)
.borderWidth ??
UpConstants.kDefaultStyleBorderWidth;
}