sky_device_info

Creator: coderz1093

Last updated:

0 purchases

sky_device_info Image
sky_device_info Images

Languages

Categories

Add to Cart

Description:

sky device info

sky_device_info #
A Flutter plugin to get device info.
Usage #
Quick simple usage example:
Read network info
final _plugin = SkyDeviceInfo();

DeviceInfo? deviceInfo = await _plugin.loadDeviceInfo();
if (deviceInfo != null) {
NetworkInfo? networkInfo = _plugin.networkInfo;
if (networkInfo != null && networkInfo.networkAdapters.isNotEmpty) {
String? ipAddress = networkInfo.networkAdapters.first.ipAddress;
String? connectionName =
networkInfo.networkAdapters.first.connectionName;
String? ssid = networkInfo.networkAdapters.first.ssid;
} else {
// Network disconnected
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.