platform_detector library

Classes

PlatformDetector
PlatformDetector Class Documentation:

Functions

isAndroidApp([PlatformDetector? detector]) bool
  • isAndroidApp : true if the current platform OS is Android and this is an Android Application.
  • isAndroidOs([PlatformDetector? detector]) bool
  • isAndroidOs : true if the current platform OS category is Android (It does not matter if it is a web or an application).
  • isAndroidWeb([PlatformDetector? detector]) bool
  • isAndroidWeb : true if the current platform is Web on Android.
  • isApple([PlatformDetector? detector]) bool
  • isApple : true if the current platform's company is Apple.
  • isDesktop([PlatformDetector? detector]) bool
  • isDesktop : true if the current platform type is Desktop.
  • isGoogle([PlatformDetector? detector]) bool
  • isGoogle : true if the current platform's company is Google.
  • isIOS([PlatformDetector? detector]) bool
  • isIOS : true if the current platform OS category is iOS (It does not matter if it is a web or an application).
  • isIOSApp([PlatformDetector? detector]) bool
  • isIOSApp : true if the current platform OS is iOS and this is an iOS Application.
  • isIOSWeb([PlatformDetector? detector]) bool
  • isIOSWeb : true if the current platform is Web on iOS.
  • isLinuxApp([PlatformDetector? detector]) bool
  • isLinuxApp : true if the current platform OS is Linux and this is an Linux Application.
  • isLinuxCommunity([PlatformDetector? detector]) bool
  • isLinuxCommunity : true if the current platform's company is Linux.
  • isLinuxOs([PlatformDetector? detector]) bool
  • isLinuxOs : true if the current platform OS category is Linux (It does not matter if it is a web or an application).
  • isLinuxWeb([PlatformDetector? detector]) bool
  • isLinuxWeb : true if the current platform is Web on Linux.
  • isMacOs([PlatformDetector? detector]) bool
  • isMacOs : true if the current platform OS category is MacOs (It does not matter if it is a web or an application).
  • isMacOsApp([PlatformDetector? detector]) bool
  • isMacOsApp : true if the current platform OS is MacOs and this is an MacOs Application.
  • isMacOsWeb([PlatformDetector? detector]) bool
  • isMacOsWeb : true if the current platform is Web on MacOs.
  • isMicrosoft([PlatformDetector? detector]) bool
  • isMicrosoft : true if the current platform's company is Microsoft.
  • isMobile([PlatformDetector? detector]) bool
  • isMobile : true if the current platform type is Mobile.
  • isWeb([PlatformDetector? detector]) bool
  • isWeb : true if the current platform type is Web.
  • isWindowsApp([PlatformDetector? detector]) bool
  • isWindowsApp : true if the current platform OS is Windows and this is an Windows Application.
  • isWindowsOs([PlatformDetector? detector]) bool
  • isWindowsOs : true if the current platform OS category is Windows (It does not matter if it is a web or an application).
  • isWindowsWeb([PlatformDetector? detector]) bool
  • isWindowsWeb : true if the current platform is Web on Windows.