Flutter or Dart: How to I get device information such as CPU count, total memory and storage, etc
问题 Using Flutter, I would like to get device information details such as CPU count, bitness, Total Memory, Total device storage, etc. Similar to apps one can get on the App stores. I looked at device_info package, but that does not cover it. I also looked at system_info (which is pretty good, seems abandoned), but only works on Android since it's using Linux shell commands to get the info. I would also like it to work for iOS. Any ideas? 回答1: Add this package to your pubspec.yaml: system_info: