분류, 패키지 및 저장소 검색

GitHub 저장소hathibelagal-dev/launcher-assist-for-flutter

flutter용 런처 어시스턴트

Android 런처 개발을 간소화하는 플러터 패키지

flutter용 런처 어시스턴트 프로젝트 이미지
스타
22
포크
15
최근 푸시(UTC)
2020. 5. 12.
프로젝트 상태
보관됨

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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
GitHub 작성자

Ashraff Hathibelagal ↗

Embrace the Future, Become a Cyborg 🦾

언어JavaDart

분류

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 1 개

  • flutter{"sdk":"flutter"}

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

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

GitHub Docs — About repositories ↗