FLUTTER ECOSYSTEM

SebghatYusuf/system_info_plus

一个用于获取设备内存大小的 Flutter 插件

system_info_plus 项目封面
Stars
6
Forks
7
最近推送(UTC)
2025年2月5日
项目状态
未归档
Sebghatullah Yusuf GitHub avatar
GITHUB User

Sebghatullah Yusuf ↗

The Developer

Empire Pixel Ghor, Afghanistan官方网站 ↗
语言JavaDartSwiftRubyObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^1.0.0

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

system_info_plus

A Flutter plugin to get device Random Access Memory (RAM) size.

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

How to use?

Basic example:

Step 1:

import 'package:system_info_plus/system_info_plus.dart';

Step 2:

void getDeviceMemory() async {
    int? deviceMemory = await SystemInfoPlus.physicalMemory; // returns in MB
}