FLUTTER ECOSYSTEM

gopaldhola99/sticker_view

テキスト、写真、または他の任意のウィジェットを回転、サイズ変更、移動、削除するためのFlutterプラグインです。

ステッカー表示 のプロジェクト画像
Stars
29
Forks
17
最終プッシュ(UTC)
2024/07/10
プロジェクト状態
公開中
Gopal Dhola GitHub avatar
GITHUB User

Gopal Dhola ↗

Flutter❤️ Developer !!!

India
言語DartKotlinRubySwiftObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^1.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

sticker_view

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

https://github.com/gopaldhola99/sticker_view/blob/main/example/assets/sticker_view.gif


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.