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