FLUTTER ECOSYSTEM

onepub-dev/system_info

提供對系統有用資訊的便捷存取(體系結構、位數、核心、記憶體、作業系統、CPU、使用者)。

系統資訊 專案封面
Stars
23
Forks
8
最近推送(UTC)
2025年9月28日
專案狀態
未封存
OnePub GitHub avatar
GITHUB Organization

OnePub ↗

語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • globbing^1.0.0
  • path^1.8.0
  • lint_hard開發依賴^6.2.1

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

system_info2

A fork of system_info as the original maintainer no longer wishes to do so.

Thanks to onepub.dev for allowing me the time and resources to support this package.

Provides easy access to useful information about the system (architecture, bitness, kernel, memory, operating system, CPU, user).

system_info2 lets you discover specific hardware characteristics of the OS you are running on includeing:

  • kernelArchitecture
  • Kernel bitness
  • Kernel name
  • Kernel version
  • Operating system name
  • Operating system version
  • User directory
  • User id
  • User name
  • User space bitness

Basic examples:

if (SysInfo.operatingSystemName == "Ubuntu") {
  log.info("We love Ubuntu users");
}

Documentation

You can find the manual at:

sysinfo.onepub.dev