windows_system_info 0.0.4 copy "windows_system_info: ^0.0.4" to clipboard
windows_system_info: ^0.0.4 copied to clipboard

PlatformWindows

A Flutter package for getting exclusive details of windows device.

windows_system_info

A Dart package to get detailed information of windows machine.

Features #

Supported platform: Windows (it will be better if there is powershell)

Getter Type Desc
userName String user's profile name
windowsSystemInformation AllInfo? complete information about details
windowsSystemStaticInformation DeviceStaticinfo? all static information of device
deviceName String device name
is64bit bool true if 64 bit os is installed
is32bit bool true if 32 bit os isntalled
isInitInProgress bool true if initializing is in progress
isInitilized Future bool true once initilisation completed
disks List(DiskLayoutInfo) info like hdds,ssd attached to device
graphics GraphicsInfo will return graphics related information of device
memories List(MemoryInfo) will get a list of memory(ram) attached to device
network List(NetworkInfo) will get detail of network adapter ie:focused on mac address
baseBoard BaseBoardInfo? return information of base board of device
chassis ChassisInfo? return infomation of chassis of device,like laptop, manufacturer etc...
system SystemInfo? will return basic system information, like manufacturer etc...
os OsInfo? will return operating system information, like version of windows, build etc...
bios BiosInfo? return bios information

Enums (WindowsSystemInfoFeat) #

Name Desc
all default, all information
diskLayout disklayout information
username only username
gpu gpu and display
memory memory details
network network details
baseboard baseboard details
chassis chassis details
cpu cpu details
system system details
bios bios details
os os details

Getting started #

  1. include latest windows_system_info package

  2. import it

import 'package:windows_system_info/windows_system_info.dart';
  1. initialize
await WindowsSystemInfo.initWindowsInfo(requiredValues: [WindowsSystemInfoFeat.cpu]);
  1. get values using getter
WindowsSystemInfo.cpu

Usage #

  @override
  void initState() {
    super.initState();
    initInfo();
  }

  Future<void> initInfo() async {
    await WindowsSystemInfo.initWindowsInfo();
    if (await WindowsSystemInfo.isInitilized) {
      print(WindowsSystemInfo.cpu);
    }
  }

Additional information #

Before contributing...

Always welcome PR, but make sure warning is mininmum and follow darts guide lines for coding and documention. Always try to add comment about expected output, logic etc...

Inspired from js systeminformation package
12
likes
150
points
956
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for getting exclusive details of windows device.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter

More

Packages that depend on windows_system_info