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

Was this helpful?

  1. Reference
  2. SysInfo

kernelVersion

PreviouskernelNameNextoperatingSystemName

Last updated 3 years ago

Was this helpful?

kernelVersion

Returns the version of your OS.

The format of the version is heavily dependent on which OS and version of the OS you are running.

Possible values are:

  • Linux - 3.13.0-43-generic

Help us maintain this list. Please raise an issue on the github site with details of the version numbers you have seen.

Example:

import "package:system_info2/system_info2.dart";

print("Kernel version          : ${SysInfo.kernelVersion}");

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

system_info2
onpub.dev github site