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