Reputation: 13
I need to get this kind of info trough my app. Doing a research I found the package device_info_plus, but that package don't show the info that I need, like RAM, storage, processor.
Upvotes: 1
Views: 1435
Reputation: 3730
You can use the package called disk_space which gets you the total amount of storage available on your device
import 'package:disk_space/disk_space.dart';
void getDiskSpaceInfo() async{
print(await DiskSpace.getFreeDiskSpace);
print(await DiskSpace.getTotalDiskSpace);
}
Upvotes: 2