checkUpdateDimension method
void
checkUpdateDimension()
Implementation
void checkUpdateDimension(
int windowWidth,
int windowHeight,
bool shouldUseScreenDisplay,
bool systemUiVisibilityChanged,
) {
var uiContext = currentContext;
if (_context == null && uiContext != null) {
return;
}
if (uiContext != null) {
var dimensionMap = getDimensions(
windowWidth,
windowHeight,
shouldUseScreenDisplay,
uiContext,
);
_context?.dimensionChecker.checkUpdateDimension(
uiContext,
dimensionMap,
windowWidth,
windowHeight,
shouldUseScreenDisplay,
systemUiVisibilityChanged,
);
}
}