Get current device information from within the Flutter application.
Currently Supported devices are - Linux.
Import package:flutter_device_info/flutter_device_info.dart
, instantiate FlutterDeviceInfo
and use the Linux getters to get platform-specific device information.
Example :
LinuxDeviceInfo linuxDeviceInfo = await FlutterDeviceInfo().linuxInfo;
print("OS is ${linuxDeviceInfo.os}"); // Example : Arch Linux
print("Total Ram is ${linuxDeviceInfo.memInfo.memTotal}"); // Example : 7991404 kB
print("GPU Controller is ${linuxDeviceInfo.cpuInfo.gpuController}");
// Example : NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)