added size utils to recoverPassword
This commit is contained in:
@@ -69,7 +69,9 @@ class SizeUtils {
|
||||
|
||||
static bool get isMediumScreen => physicalAspectRatioHeight <= 18.0;
|
||||
|
||||
static bool get isXLScreen => physicalAspectRatioHeight >= 20.0;
|
||||
static bool get isBigScreen => physicalAspectRatioHeight <= 20.0;
|
||||
|
||||
static bool get isXLScreen => physicalAspectRatioHeight >= 21.5;
|
||||
|
||||
static Size get screenSize => Size(width, height);
|
||||
|
||||
@@ -81,7 +83,8 @@ class SizeUtils {
|
||||
}) {
|
||||
if (isSmallerScreen) return small;
|
||||
if (isMediumScreen) return medium ?? small;
|
||||
if (isXLScreen && xl != null) return xl;
|
||||
if (isBigScreen) return big;
|
||||
if (isXLScreen) return xl ?? big;
|
||||
return big;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user