disks_desktop
1.0.1, released 4 years ago by angelocassano.it
Retrieve installed disk and device information on desktop platforms.
What it does
Disks Desktop is a Flutter desktop library that allows developers to retrieve detailed information about installed storage devices. It provides access to attributes like disk size, block size, bus type, mountpoints, and partition table types.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter desktop application for Windows or macOS.
- You need to retrieve hardware information about connected disks and drives.
- You want to inspect disk properties such as read-only status, removable status, and file system details.
Skip it when
- Your application targets mobile or web platforms.
- You only need high-level application directory paths rather than physical disk hardware info.
Strengths
- Provides deep hardware and partition details for connected storage devices.
- Easy-to-use repository pattern with simple query getters.
Weaknesses
- Limited platform support (strictly Windows and macOS based on the metadata).
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add the dependency to pubspec.yaml and use it directly in your Dart code.
final repository = DiskRepository();
final disks = await repository.query;Alternatives
Packages that do the same job and could replace disks_desktop.
- device_info_plus
Provides detailed information about the current device, make, model, and OS version.
93Compare - screen_retriever
Read desktop screen size, work area, scale factor and cursor position on Windows, macOS and Linux.
93Compare - display_metrics
Retrieve physical display size, resolution, and PPI, and convert inches and mm to logical pixels.
78Compare - contacts_service_plus
Retrieve and manage device contacts on Android and iOS devices.
64Compare
Works with
Packages commonly used together with disks_desktop: ones it builds on, ones built on it, and its own family.