iws_device_info 1.2.1 copy "iws_device_info: ^1.2.1" to clipboard
iws_device_info: ^1.2.1 copied to clipboard

unlistedoutdated

A package that provides information about the device with IWS format.

This package provides information about the device with IWS compatible format.

Features #

  • Quick implementation of the package.
  • Compatible with IWS format.

Getting started #

Install the package: pub add iws_device_info.

Usage #

import 'package:iws_device_info/iws_device_info.dart';

/// Retrieves the platform name of the device.
final platformName = IwsDeviceInfo.getDevicePlatformName();

/// Retrieves the device information for a given device ID and user identifier.
final device = await IwsDeviceInfo.getDeviceInfo(
    deviceId: '123456789',
    userIdentifier: '123456789',
);

/// Checks if the current platform is web or desktop.
final isWebOrDesktop = IwsDeviceInfo.isWebOrDesktop();

/// Checks if the current platform is Android or iOS.
final isMobile = IwsDeviceInfo.isMobile();

/// Checks if the current platform is web.
final isWeb = IwsDeviceInfo.isWeb();

/// Checks if the current platform is Android.
final isAndroid = IwsDeviceInfo.isAndroid();

/// Checks if the current platform is iOS.
final isIOS = IwsDeviceInfo.isIOS();

/// Checks if the current platform is Windows.
final isWindows = IwsDeviceInfo.isWindows();

/// Checks if the current platform is Linux.
final isLinux = IwsDeviceInfo.isLinux();

/// Checks if the current platform is macOS.
final isMacOS = IwsDeviceInfo.isMacOS();

/// Checks if the current platform is an Apple device.
final isAppleDevice = IwsDeviceInfo.isAppleDevice();
0
likes
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A package that provides information about the device with IWS format.

Homepage

License

unknown (license)

Dependencies

device_info_plus, flutter

More

Packages that depend on iws_device_info