पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv1.0.0

flutter_simple_sticker_view

एक नया फ्लटर प्लगइन प्रोजेक्ट जिसमें आप चाहते हैं उसी के अनुसार छवि पर स्टिकर लगा सकते हैं। जोड़ी गई छवि को बाहर निकाला भी जा सकता है।

30-दिन डाउनलोड
25
लाइक
38
Pub अंक
40

पैकेज इंस्टॉल करें

flutter pub add flutter_simple_sticker_view

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

एक फ्लटर प्लगइन जो उपयोगकर्ताओं को छवियों पर स्टिकर जोड़ने और उनका निर्माण करने में आसानी प्रदान करता है। यह इंटरैक्टिव स्टिकर स्थापना, आकार बदलने और घुमाने का समर्थन करता है, जो सीधे छवि कैनवास पर होता है। स्टिकर को अंतिम छवि के रूप में निर्यात किया जा सकता है, जिससे यह सोशल मीडिया कंटेंट निर्माण के लिए आदर्श है। पैकेज सरलता और प्रदर्शन के लिए डिज़ाइन किया गया है, जिससे विकासकर्ता अपने ऐप में स्टिकर कार्यक्षमता को तेजी से एकीकृत कर सकते हैं। यह चित्र संपादन उपकरणों या संदेश संचार ऐप्स के लिए विशेष रूप से उपयोगी है जहां दृश्य अभिव्यक्ति महत्वपूर्ण है।

उपयोग

  • उपयोगकर्ता द्वारा अपलोड की गई छवियों में स्टिकर जोड़ना
  • साझा करने योग्य सोशल मीडिया पोस्ट बनाना
  • इंटरैक्टिव फोटो एडिटिंग फीचर्स बनाना
  • स्टिकर समर्थन के साथ मैसेजिंग ऐप डिज़ाइन करना
  • कस्टम इमेज टेम्पलेट बनाना
  • स्टिकर के साथ उपयोगकर्ता-उत्पादित सामग्री सक्षम करें

मुख्य विशेषताएँ

  • इंटरैक्टिव स्टिकर स्थापना
  • स्टिकर आकार और घूर्णन
  • स्टिकर वाली छवियों का निर्यात
  • Flutter के साथ सरल एकीकरण
  • बहुत चिपकने वाली परतों का समर्थन
  • हल्का और कार्यक्षम

इनके लिए उपयुक्त

  • फोटो संपादन एप्लिकेशन
  • सोशल मीडिया प्लेटफॉर्म
  • संदेश ऐप्स
  • सामग्री निर्माण उपकरण
  • दृश्य संशोधन की आवश्यकता वाले ऐप्स

विचार योग्य बातें

  • मूल चिपकाने के संचालन तक सीमित
  • कोई बिल्ट-इन स्टिकर लाइब्रेरी नहीं
  • चित्र निर्यात के लिए हस्तचालित प्रबंधन की आवश्यकता होती है
  • बड़े स्टिकर संग्रह के लिए अनअनुकूलित
  • स्टिकर्स के लिए कोई एनीमेशन समर्थन नहीं है
  • बाहरी छवि प्रसंस्करण पर निर्भर है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

flutter_simple_sticker_view

Flutter plugin for attach stickers on image, as you want. scalable, movable. attached image can also be export.

Getting Started

Add flutter_simple_sticker_view as a dependency in your pubspec.yaml file.

Check out the example directory for a sample app.

Usage

Import the library via

import 'package:flutter_simple_sticker_view/flutter_simple_sticker_view.dart';
Example
FlutterSimpleStickerView(
    Container(
      child: Center(child: Text("Hello, World!")),
    ),
    [
      Image.asset("assets/icons8-super-mario-50.png"),
      Image.asset("assets/icons8-superman-50.png"),
      Image.asset("assets/icons8-captain-america-50.png"),
      Image.asset("assets/icons8-avengers-50.png"),
      Image.asset("assets/icons8-iron-man-50.png"),
      Image.asset("assets/icons8-batman-50.png"),
      Image.asset("assets/icons8-thor-50.png"),
      Image.asset("assets/icons8-venom-head-50.png"),
      Image.asset("assets/icons8-homer-simpson-50.png"),
      Image.asset("assets/icons8-spider-man-head-50.png"),
      Image.asset("assets/icons8-harry-potter-50.png"),
      Image.asset("assets/icons8-genie-lamp-50.png"),
      Image.asset("assets/icons8-cyborg-50.png"),
      Image.asset("assets/icons8-one-ring-50.png"),
      Image.network("https://img.icons8.com/emoji/2x/wolf-emoji.png"),
      Image.network("https://img.icons8.com/emoji/2x/tiger-emoji.png"),
    ],
  )
Export Image
var _stickerView = FlutterSimpleStickerView(...);

Uint8List image = await _stickerView.exportImage();

See the example :)


Required paramsters
  • source: The screen to attach the sticker.
  • stickerList : List of sticker.
Optional parameters
  • stickerSize: default sticker size. width/height. (default is 100.0)

  • stickerMaxScale: maximum scale of sticker. (default is 2.0)

  • stickerMinScale: minimum scalof of sticker (default is 0.5)

  • panelHeight: sticker panel height. (default is 200)

  • panelBackgroundColor: background color of sticker panel.

  • panelStickerBackgroundColor: background color of sticker in panel.

  • panelStickercrossAxisCount: axis count of sticker (default is 4)

  • panelStickerAspectRatio: ratio of sticker in sticker panel. (default is 1.0)

  • devicePixelRatio: device pixel ratio for exporting image. (eg. MediaQuery.of(context).devicePixelRatio)

enjoy! 💃

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।