System Info
  • Welcome!
  • Installing
  • Quick Start
  • Reference
    • SysInfo
      • kernelArchitecture
      • kernelBitness
      • kernelName
      • kernelVersion
      • operatingSystemName
      • operatingSystemVersion
      • userDirectory
      • userId
      • userName
      • userSpaceBitness
      • cores
      • getTotalPhysicalMemory
      • getFreePhysicalMemory
      • getTotalVirtualMemory
      • getFreeVirtualMemory
      • getVirtualMemorySize
Powered by GitBook
On this page
  • operatingSystemVersion
  • Example:

Was this helpful?

  1. Reference
  2. SysInfo

operatingSystemVersion

PreviousoperatingSystemNameNextuserDirectory

Last updated 3 years ago

Was this helpful?

operatingSystemVersion

Provides the name of your operating system.

The operating system version will depend on your operating system.

Possible Values:

  • Linux 22.04

Example:

import "package:system_info2/system_info2.dart";

print("Operating System version          : ${SysInfo.operatingSystemVersion}");

Please help expand the list of examples by raising an issue with examples on the .

onpub.dev github site