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

flutter_emoji_feedback कवर
पैकेज विवरणv1.0.3

flutter_emoji_feedback

अपने उपयोगकर्ताओं से प्रतिक्रिया प्राप्त करने के लिए एक पूरी तरह से कस्टमाइज़ करने योग्य विजेट। उपयोगकर्ता के मूड, उनके अनुभव का मूल्यांकन आदि के लिए उपयोगी!

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
382
लाइक
60
Pub अंक
150

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

flutter pub add flutter_emoji_feedback

पैकेज अवलोकन

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

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

उपयोग

  • उपयोगकर्ता भावना का संग्रह करें
  • एप्प अनुभव में सुधार करना
  • त्वरित प्रतिक्रिया एकत्र करना
  • उपयोगकर्ता संतुष्टि सर्वेक्षण
  • रियल-टाइम भावना ट्रैकिंग
  • अंतरक्रिया के बाद प्रतिक्रिया

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

  • पूरी तरह से कस्टमाइज़ किया गया इमोजी सेट
  • कॉन्फ़िगरेबल फीडबैक प्रतिक्रियाएं
  • प्लेटफॉर्म के अनुकूल समर्थन
  • सरल एकीकरण
  • प्रतिक्रियाशील डिज़ाइन
  • विस्तारयोग्य उपयोगकर्ता इंटरफेस

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

  • मोबाइल और वेब एप्लिकेशन
  • उपयोगकर्ता अनुभव शोध
  • एप्स में प्रतिक्रिया संग्रहण
  • उत्पाद सुधार पहलें
  • यूएक्स डिजाइनर और विकासकर्ता

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

  • विशिष्ट उपयोग के मामलों के लिए कस्टमाइज़ेशन की आवश्यकता होती है
  • इमोजी-आधारित इनपुट पर सीमित
  • डेटा प्रोसेसिंग के लिए अतिरिक्त तर्क की आवश्यकता हो सकती है
  • विस्तृत पाठ संकेत के लिए उपयुक्त नहीं
  • परिणामों के लिए बाहरी राज्य प्रबंधन पर निर्भर है

मूल README

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

flutter_emoji_feedback

pub package GitHub CI

A fully customizable widget to receive feedback from your users. Useful to get the user's mood, evaluate their experience, and more!

📺 What's new?

You can now use animated lottie files (json files only) for emoji presets, or the provided notoAnimatedEmojis preset. (see #3)

🚀 Getting started

Install from pub
flutter pub add flutter_emoji_feedback

📔 Usage

Import flutter_emoji_feedback:

import 'package:flutter_emoji_feedback/flutter_emoji_feedback.dart';
EmojiFeedback(
  initialRating: 4, // Set to null (default) for no initial rating
  animDuration: const Duration(milliseconds: 300), // Duration of the animation
  curve: Curves.bounceIn, // Curve of the animation
  inactiveElementScale: .5, // Scale of the inactive element
  onChanged: (value) {
    // Callback when the user change the value of the emoji
  },
  onChangeWaitForAnimation: true, // Wait for the animation of the emoji to complete before calling `#onChanged`
  // Other parameters
);
Parameters
Parameter name Description Type
onChangeWaitForAnimation If true, the emoji's animation will finish before calling #onChange bool
initialRating Sets the initial rating, if null, there will be no initial rating int?
tapScale The scale for when the user holds down the emoji, set to inactiveElementScale for none double
animDuration Duration of the animation Duration
curve Curve of the animation Curve
inactiveElementScale Scale of the inactive element double
onChanged Function called when an item is selected. Values goes from 1 to preset.length ValueChanged<int?>?
emojiPreset List of emojis. Available presets: classicEmojiPreset, flatEmojiPreset, threeDEmojiPreset, notoAnimatedEmojis, notoEmojis. You can create your own presets, see Defining Presets. EmojiPreset
presetBuilder Custom emoji widget builder EmojiBuilder?
showLabel Whether the label should be displayed or not bool
labelTextStyle Style of the emoji label TextStyle?
customLabels Define your custom labels. Useful if you wish to use the predefined emojis with custom labels List<String>?
inactiveElementBlendColor Custom blend color for inactive elements Color?
spaceBetweenItems Space between items double
elementSize Size of emoji elements double?
labelPadding Label padding EdgeInsetsGeometry
enableFeedback Enable haptic feedback bool
minRating Minimum rating int
maxRating Maximum rating int
onChangeWaitForAnimation If true, the onChange callback will be called after the animation is completed bool
🎨 Defining presets

You can easily create presets using the StaticEmojiPreset and AnimatedEmojiPreset, which hold the emojis.

// Defining a static emoji preset using SVG files
// Replace the `image` with your SVG file path
const myStaticEmojiPreset = StaticEmojiPreset([
  StaticEmoji(
    image: 'assets/images/emoji1.svg',
    value: 1,
  ),
  StaticEmoji(
    image: 'assets/images/emoji2.svg',
    value: 2,
  ),
  StaticEmoji(
    image: 'assets/images/emoji3.svg',
    value: 3,
  ),
  StaticEmoji(
    image: 'assets/images/emoji4.svg',
    value: 4,
  ),
  StaticEmoji(
    image: 'assets/images/emoji5.svg',
    value: 5,
  ),
]);

// Defining an animated emoji preset using Lottie files
// Replace the `animation` with the path to your Lottie file
const myAnimatedEmojiPreset = AnimatedEmojiPreset([
  AnimatedEmoji(
    animation: 'assets/animations/emoji1.json',
    value: 1
  ),
  AnimatedEmoji(
    animation: 'assets/animations/emoji2.json',
    value: 2
  ),
  AnimatedEmoji(
    animation: 'assets/animations/emoji3.json',
    value: 3
  ),
  AnimatedEmoji(
    animation: 'assets/animations/emoji4.json',
    value: 4
  ),
  AnimatedEmoji(
    animation: 'assets/animations/emoji5.json',
    value: 5,
  ),
]);

📝 License

This project is licensed under the MIT License - see the LICENSE file for details

📄 Changelog

See CHANGELOG.md for details.

📄 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 Contributors

📄 Acknowledgments

Attribution

This project uses Animated Noto Emoji, which is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

© Google LLC. Licensed under CC BY 4.0.

Sponsor

If you find this project useful, you can sponsor me.

Or you can

Buy Me A Coffee

श्रेणियाँ

निर्भरताएँ

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

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

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

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