搜尋套件、儲存庫與 APP 分類

sticker_view 封面
套件詳情v0.0.4

sticker_view

一個 Flutter 插件,用於旋轉、調整大小、移動、刪除任何文字、照片或其他小部件。

AndroidiOS
近 30 天下載
87
喜歡數
76
Pub 分數
130

安裝套件

flutter pub add sticker_view

套件介紹

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

StickerView 是一個 Flutter 插件,可實現對容器內文字、圖片和自訂 UI 元素等元件的互動式操作。使用者可以透過直覺的手勢旋轉、調整大小、移動和刪除這些元素。專為多媒體編輯設計,支援動態內容疊加,非常適合用於建立照片編輯器或社群媒體工具中的貼紙。此外,該插件可在 Android 與 iOS 平台上順暢運作。

適用情境

  • 照片編輯應用
  • 社交媒體貼紙製作
  • 互動式數位白板
  • 可自訂的圖像疊加
  • 使用者產生內容工具

主要特色

  • 基於手勢的旋轉和縮放
  • 拖放小部件定位
  • 小部件的刪除功能
  • 支援任何 Flutter 小部件作為貼紙
  • 跨平台相容性(Android 與 iOS)

適合對象

  • 開發多媒體編輯器的開發者
  • 需要互動式疊加層的應用程式
  • 帶有使用者繪製或新增內容的創意工具
  • 教育或協作白板應用程式
  • 需要動態UI元素操作的項目

使用建議

  • 需要仔細處理小部件生命週期
  • 效能可能會因複雜或大量的貼紙而有所差異
  • 僅限基本手勢互動
  • 沒有內建的匯出或儲存功能
  • 可能需要額外的邏輯來實現持久化資料儲存

原始 README

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

sticker_view

A Flutter plugin to rotate, resize, move, delete any text, image or any other widget.


Available Features

✅   Rotate
✅   Resize
✅   Move
✅   Layer Update (Change Stack position)
✅   Delete

:rocket: Installation

This plugin is available on Pub: https://pub.dev/packages/sticker_view

Add this to dependencies in your app's pubspec.yaml

sticker_view : latest_version

:bookmark: Usage

Sample code to integrate can be found in example/lib/main.dart.

Integrate sticker_view
 StickerView(
            // List of Stickers
            stickerList: [
              Sticker(
                // You can give any widget as it's child
                child: Image.network(
                    "https://tinyurl.com/48ne4wj5"),
                // Must have unique id for every Sticker
                id: "uniqueId_111",
              ),
              Sticker(
                child: const Text("Hello"),
                id: "uniqueId_222",
                isText: true,
              ),
            ],
          ),
Save StickerView as Uint8List
  // Give the Image Quality (High, Medium, Low)
  await StickerView.saveAsUint8List(ImageQuality.high);

:heart: Found this project useful?

If you found this project useful, then please consider giving it a :star: on Github and sharing it with your friends via social media.

=======

Contributions are welcome! Feel free to submit a pull request or open an issue for any feature requests or bugs, Create a Ticket.

所屬分類

依賴

依賴清單 1 項

  • plugin_platform_interface^2.0.2

原始碼儲存庫

使用此套件的專案

暫無相關資料。