Plugin to get the list of installed applications (iOS is not supported yet).
First, you have to import the package in your dart files with:
To get the list of the apps installed on the device:
List<Application> apps = await DeviceApps.getInstalledApplications();
You can filter system apps if necessary. Note: The list of apps is not ordered!
To get a specific app by package name:
Application app = await DeviceApps.getApp('com.frandroid.app');
To check if an app is installed (via its package name):
bool isInstalled = await DeviceApps.isAppInstalled('com.frandroid.app');
To open an application
When calling the
getApp() methods, you can ask for the icon.
To display the image, just call:
Demonstrates how to use the device_apps plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: device_apps: ^1.0.3
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.3||Dec 17, 2018|
|1.0.2||Dec 14, 2018|
|1.0.1||Oct 30, 2018|
|1.0.0||Jun 6, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 17, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Document public APIs (-10 points)
13 out of 13 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.