kernelArchitecture

SysInfo.kernelArchitecture

The kernelArchitecture describes the type of CPU your app is running on.

Possible values are:

ArchitectureReported ByValue

ProcessorArchitecture.aarch64

AARCH64

ProcessorArchitecture.arm

MacOS Arm, Raspberry Pi

ARM

ProcessorArchitecture.ia64

IA64

ProcessorArchitecture.mips

MIPS

ProcessorArchitecture.x86

Windows 32, Linux 32

X86

ProcessorArchitecture.x86_64

Windows 64, Linux 64

X86_64

ProcessorArchitecture.unknown

UNKNOWN

Example:

import "package:system_info2/system_info2.dart";

print("Kernel architecuture          : ${SysInfo.kernelArchitecture}");

Please help expand the list of examples by raising an issue with examples on the onpub.dev github site.

Last updated