windows_system_info 0.0.4

SDKflutter
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)

GetterTypeDesc
userNameStringuser's profile name
windowsSystemInformationAllInfo?complete information about details
windowsSystemStaticInformationDeviceStaticinfo?all static information of device
deviceNameStringdevice name
is64bitbooltrue if 64 bit os is installed
is32bitbooltrue if 32 bit os isntalled
isInitInProgressbooltrue if initializing is in progress
isInitilizedFuture booltrue once initilisation completed
disksList(DiskLayoutInfo)info like hdds,ssd attached to device
graphicsGraphicsInfowill return graphics related information of device
memoriesList(MemoryInfo)will get a list of memory(ram) attached to device
networkList(NetworkInfo)will get detail of network adapter ie:focused on mac address
baseBoardBaseBoardInfo?return information of base board of device
chassisChassisInfo?return infomation of chassis of device,like laptop, manufacturer etc...
systemSystemInfo?will return basic system information, like manufacturer etc...
osOsInfo?will return operating system information, like version of windows, build etc...
biosBiosInfo?return bios information

Enums (WindowsSystemInfoFeat)

NameDesc
alldefault, all information
diskLayoutdisklayout information
usernameonly username
gpugpu and display
memorymemory details
networknetwork details
baseboardbaseboard details
chassischassis details
cpucpu details
systemsystem details
biosbios details
osos 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