Buscar categorias, pacotes e repositórios

Repositório GitHubhathibelagal-dev/launcher-assist-for-flutter

assistente-de-lançamento-para-flutter

Um pacote Flutter que simplifica o desenvolvimento de lançadores para Android

Capa do projeto assistente-de-lançamento-para-flutter
Estrelas
22
Forks
15
Último push (UTC)
12 de mai. de 2020
Status do projeto
Arquivado

README original

Texto original em inglês. Visite o GitHub para a versão atual.

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 available as byte arrays.

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

  • getWallpaper() - Returns the current wallpaper of the user, as a byte array that you can directly pass to the Image.memory() method. Note that on devices running Android Oreo or higher, this method will work only if your app has the READ_EXTERNAL_STORAGE permission.

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;
    });
});
Ashraff Hathibelagal GitHub avatar
Autor no GitHub

Ashraff Hathibelagal ↗

Embrace the Future, Become a Cyborg 🦾

LinguagensJavaDart

Categorias

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 1 itens

  • flutter{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗