搜尋分類、套件與程式碼儲存庫

套件詳情v1.1.3

launcher_assist

此外掛程式可讓您輕鬆使用 Flutter 為 Android 建立啟動器應用程式。不支援 iOS。

近 30 天下載
36
喜歡數
29
Pub 分數
25

安裝套件

flutter pub add launcher_assist

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Launcher Assist 是一個 Flutter 插件,旨在簡化 Android 啟動器應用的建立,讓開發者能輕鬆自訂主畫面體驗。它允許修改應用程式圖示、名稱與啟動行為,非常適合建構專用或主題化的啟動器。此插件不支援 iOS,專注於 Android 平台。透過 pub add 簡單整合,為直接從主畫面啟動自訂應用介面提供基礎。其輕量級特性使其適用於極簡或專用的啟動器應用程式。

適用情境

  • 建構自訂 Android 啟動器
  • 建立主題化主畫面
  • 開發應用程式專用的啟動器
  • 設計極簡的主螢幕介面
  • 自定義應用程式圖示和名稱顯示

主要特色

  • 僅支援 Android
  • 與 Flutter 的輕鬆整合
  • 可自訂的應用程式圖示和標籤
  • 支援啟動器特定行為
  • 輕量且專注的設計

適合對象

  • 面向 Android 啟動器的 Flutter 開發人員
  • 應用程式為中心的主螢幕體驗的創作者
  • 數位福祉或生產力啟動器的建構者
  • 尋求簡單啟動器功能的開發者

使用建議

  • 與 iOS 不相容
  • 需要 Android 特定權限
  • 僅限啟動器應用使用情境
  • 不支援進階主畫面小工具
  • 依賴於 Android 系統級存取

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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;
    });
});

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。