This Dart package that provides information about the CPU. The package is designed to work in all platforms, including browsers.
In pubspec.yaml:
dependencies:
os_cpu: ^1.0.1
Use CpuType.get or CpuType.getSync:
import 'package:os_cpu/os_cpu.dart';
Future<void> main() async {
final cpuType = await CpuType.get(); // OR CpuType.getSync()
print(cpuType);
}