System Info
Search…
⌃K

kernelBitness

kernelBitness

The kernelBitness describes the number of bits your kernel is running.
If you need to know what bitness your app is running as use userSpaceBitness.
In most cases you actually want to use userSpaceBitness as it more correctly reflects the capabilities that your application has access to. The usersSpaceBitness constrains how much memory you can allocate.
Possible values are:
  • 32
  • 64

Example:

import "package:system_info2/system_info2.dart";
print("Kernel bitness : ${SysInfo.kernelBitness}");