TF-3552 Add expect email view scrollable with long content
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user