FLUTTER ECOSYSTEM

gopaldhola99/sticker_view

一个用于旋转、调整大小、移动、删除文本、照片或其他任何小部件的 Flutter 插件。

贴纸视图 项目封面
Stars
29
Forks
17
最近推送(UTC)
2024年7月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.