TF-3552 Add expect email view scrollable with long content

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-17 13:59:06 +07:00
committed by Dat H. Pham
parent 200134f6fe
commit b94d1900ae
3 changed files with 41 additions and 7 deletions
+13 -7
View File
@@ -8,12 +8,18 @@ abstract class PlatformInfo {
static bool isIntegrationTesting = false;
static bool get isWeb => kIsWeb || isTestingForWeb;
static bool get isLinux => !isWeb && defaultTargetPlatform == TargetPlatform.linux;
static bool get isWindows => !isWeb && defaultTargetPlatform == TargetPlatform.windows;
static bool get isMacOS => !isWeb && defaultTargetPlatform == TargetPlatform.macOS;
static bool get isFuchsia => !isWeb && defaultTargetPlatform == TargetPlatform.fuchsia;
static bool get isIOS => !isWeb && defaultTargetPlatform == TargetPlatform.iOS;
static bool get isAndroid => !isWeb && defaultTargetPlatform == TargetPlatform.android;
static bool get isLinux =>
!isWeb && defaultTargetPlatform == TargetPlatform.linux;
static bool get isWindows =>
!isWeb && defaultTargetPlatform == TargetPlatform.windows;
static bool get isMacOS =>
!isWeb && defaultTargetPlatform == TargetPlatform.macOS;
static bool get isFuchsia =>
!isWeb && defaultTargetPlatform == TargetPlatform.fuchsia;
static bool get isIOS =>
!isWeb && defaultTargetPlatform == TargetPlatform.iOS;
static bool get isAndroid =>
!isWeb && defaultTargetPlatform == TargetPlatform.android;
static bool get isMobile => isAndroid || isIOS;
static bool get isDesktop => isLinux || isWindows || isMacOS;
static bool get isCanvasKit => isRendererCanvasKit;
@@ -38,4 +44,4 @@ abstract class PlatformInfo {
log('PlatformInfo::platformNameOS(): $platformName');
return platformName;
}
}
}