DeviceExtension extension
Device extension for context Like context.isDesktop
- on
Properties
-
deviceType
→ Future<
DeviceType> -
Available on BuildContext, provided by the DeviceExtension extension
Get @DeviceType @DeviceType.MOBILE @DeviceType.TABLET @DeviceType.LAPTOP @DeviceType.TV @TVDeviceType.unknownno setter - isAndroid → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Androidno setter - isDesktop → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Desktopno setter - isFuchsia → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Fuchsiano setter - isIOS → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if iOSno setter -
isLaptop
→ Future<
bool> -
Available on BuildContext, provided by the DeviceExtension extension
Get true if Laptopno setter - isLinux → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Linuxno setter - isMacOS → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if MacOSno setter -
isMobile
→ Future<
bool> -
Available on BuildContext, provided by the DeviceExtension extension
Get true if Mobileno setter -
isTablet
→ Future<
bool> -
Available on BuildContext, provided by the DeviceExtension extension
Get true if isTabletno setter - isWeb → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Webno setter - isWindows → bool
-
Available on BuildContext, provided by the DeviceExtension extension
Get true if Windowsno setter -
tvDeviceType
→ Future<
TVDeviceType> -
Available on BuildContext, provided by the DeviceExtension extension
Get @TVDeviceType @TVDeviceType.tizen @TVDeviceType.webos @TVDeviceType.androidtv @TVDeviceType.firetv @TVDeviceType.mitv @TVDeviceType.unknownno setter