Skip to content
pubscout

disks_desktop

1.0.1, released 4 years ago by angelocassano.it

Retrieve installed disk and device information on desktop platforms.

$ flutter pub add disks_desktop
Source repository

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.

Works with

Packages commonly used together with disks_desktop: ones it builds on, ones built on it, and its own family.