kernelVersion

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 system_info2 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 onpub.dev github site.

Last updated