package_manager 1.8.0 package_manager: ^1.8.0 copied to clipboard
Get the list of installed installation packages, get the name, version, icon, first installation time, and last update time corresponding to the installed package name, install other applications, and [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add package_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
package_manager: ^1.8.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:package_manager/package_manager.dart';