of static method
Implementation
static ShellLayout of(double width) {
if (width >= desktop) return ShellLayout.desktop;
if (width >= tablet) return ShellLayout.tablet;
return ShellLayout.mobile;
}
static ShellLayout of(double width) {
if (width >= desktop) return ShellLayout.desktop;
if (width >= tablet) return ShellLayout.tablet;
return ShellLayout.mobile;
}