FlutterDeviceAppsLinux class abstract final

Discovers and opens registered desktop applications on Linux.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

detectAppTechnologies(String desktopFileId) → Future<LinuxAppTechnologies?>
Finds supported technologies linked directly to an app's ELF executable.
getApp(String desktopFileId) → Future<LinuxAppInfo?>
Looks up a registered app by its desktop file ID, independently of menu visibility. Returns null if GIO cannot resolve the ID.
getAppIcon(String desktopFileId) → Future<Uint8List?>
Returns a 64-pixel PNG icon, or null if no icon can be loaded.
getAppMetadata(String desktopFileId) → Future<LinuxAppMetadata?>
Reads local AppStream MetaInfo associated with a desktop file ID.
getDefaultAppForFile(String filePath) → Future<LinuxAppInfo?>
Returns the default handler for an absolute local file path, if available.
getDefaultAppForMimeType(String mimeType) → Future<LinuxAppInfo?>
Gets the default handler for a MIME type such as application/pdf. Returns null when there is no default handler.
getInstallSourceInfo(String desktopFileId) → Future<LinuxAppInstallSourceInfo?>
Returns desktop packaging metadata, or null if the app is unavailable.
listApps() → Future<List<LinuxAppInfo>>
Lists registered applications that GIO considers visible in desktop menus.
listAppsForFile(String filePath) → Future<List<LinuxAppInfo>>
Lists registered handlers for an absolute local file path.
listAppsForMimeType(String mimeType) → Future<List<LinuxAppInfo>>
Lists registered handlers for a MIME type, or an empty list if none match.
openApp(String desktopFileId) → Future<bool>
Requests an app launch through GIO. Returns false if the ID is unavailable.
searchApps(String query) → Future<List<LinuxAppInfo>>
Searches visible desktop applications in GIO's relevance order.