resolveForSize method
Implementation
FuiNavigationLayout resolveForSize(Size size, {bool enableSplit = false}) {
final isLargeLandscape =
size.width >= splitWidth &&
size.height >= splitMinHeight &&
size.width / size.height >= splitMinAspectRatio;
if (enableSplit && isLargeLandscape) {
return FuiNavigationLayout.split;
}
return resolve(size.width);
}