launcher_assist 0.0.3 copy "launcher_assist: ^0.0.3" to clipboard
launcher_assist: ^0.0.3 copied to clipboard

outdated

This plugin makes it easy for you to create launcher apps with Flutter. It helps you quickly get details about all the installed apps. It also helps you get the current wallpaper. Of course, it lets y [...]

Launcher Assist #

This is a Flutter plugin that gives you basic access to Android's PackageManager and WallpaperManager classes. As such, it is designed to help you build launchers for Android. Currently, it offers the following methods:

  • getAllApps() - This method returns a map containing the labels, package names, and icons of all the launchable apps installed on a user's device. The icons are returned as Base64 strings.

  • launchApp() - Takes a package name as its only argument. As its name suggests, it lets you launch apps.

  • getWallpaper() - This is currently a rather inefficient method that returns the current wallpaper of the user as a Base64 string.

Usage #

To use this plugin, add launcher_assist as a dependency in your pubspec.yaml file.

Sample Code #

import 'package:launcher_assist/launcher_assist.dart';

.
.
.

// Get all apps
LauncherAssist.getAllApps().then((apps) {
    setState(() {
        numberOfInstalledApps = apps.length;
        installedApps = apps;
    });
});
29
likes
0
pub points
50%
popularity

Publisher

unverified uploader

This plugin makes it easy for you to create launcher apps with Flutter. It helps you quickly get details about all the installed apps. It also helps you get the current wallpaper. Of course, it lets you launch apps too.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on launcher_assist