📱 RAM Info Plugin for Flutter

ram_info is a Flutter plugin that provides information about the device's RAM usage, including total RAM and free RAM, for both Android and iOS.


✨ Features

  • ✅ Get total RAM (in MB)
  • ✅ Get available (free) RAM (in MB)
  • ✅ Cross-platform support: Android & iOS
  • ❌ Web/Desktop not supported

📦 Installation

Add to your Flutter project

If using as a local plugin, add this to your app's pubspec.yaml:

dependencies:
  ram_info:

📦 Usage

void getRamInfo() async {
  final memoryInfo = await RamInfo.getMemoryDetails();
  print('Total RAM: ${memoryInfo.totalMB} MB');
  print('Free RAM: ${memoryInfo.freeMB} MB');
}