सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एक फ्लटर विजेट जो बातचीत के बुलबुले के रूप को नकल करता है, जिसका उपयोग आमतौर पर चैट इंटरफ़ेस या बातचीत तत्वों की आवश्यकता वाले UI में किया जाता है। यह विजेट वास्तविक जीवन के बातचीत बुलबुले की तरह गोलाकार, नुकीले कंटेनर में टेक्स्ट को दिखाने का एक सरल और कस्टमाइज़ करने योग्य तरीका प्रदान करता है। इसमें अनुकूलन, टेल स्थिति और स्टाइलिंग जैसी विभिन्न कॉन्फ़िगरेशन समर्थित हैं, जिससे यह संदेश ऐप्स या इंटरैक्टिव UI के लिए आदर्श है। यह हल्का है और मौजूदा फ्लटर प्रोजेक्ट में बिना किसी दिक्कत के एकीकृत हो सकता है।
उपयोग
चैट इंटरफेस
उपयोगकर्ता प्रतिक्रिया प्रदर्शित करता है
इंटरैक्टिव ट्यूटोरियल
नोटिफिकेशन पॉपअप
गेम डायलॉग बॉक्स
मुख्य विशेषताएँ
कस्टमाइज़ किए गए पूंछ की स्थिति
गोल कोने वाला पॉइंटर
लचीले अनुकूलन विकल्प
हल्का और एकीकरण में आसान
पाठ शैली समर्थित करता है
इनके लिए उपयुक्त
संदेश ऐप्स
शैक्षिक ऐप्स
UI प्रोटोटाइपिंग
सरल चैट घटक
सोशल मीडिया फीचर्स
विचार योग्य बातें
मूल बबल डिज़ाइन तक सीमित
निर्मित एनीमेशन समर्थन नहीं है
गतिशील सामग्री आकार के हैंडलिंग के लिए हस्तक्षेप आवश्यक है
जटिल डायलॉग प्रणालियों के लिए उपयुक्त नहीं
छोटे स्क्रीन पर टेल की स्थिति को समायोजित करने की आवश्यकता हो सकती है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
SpeechBubble
A flutter widget that emulates a speech bubble.
This widget is modeled after the red Instagram notification popups.
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import'package:speech_bubble/speech_bubble.dart';
Usage
Creates a widget that emulates a speech bubble.
Could be used for a tooltip, or as a pop-up notification, etc.
Properties
child -> Widget
The child contained by the SpeechBubble.
nipLocation -> NipLocation
The location of the nip of the speech bubble.
Use the NipLocation enum, either TOP, RIGHT, BOTTOM, or LEFT.
The nip will automatically center to the side that it is assigned.
color -> Color
The color of the body of the SpeechBubble and nip.
Defaultly red.
borderRadius -> double
The borderRadius of the SpeechBubble.
The SpeechBubble is built with a circular border radius on all 4 corners.
height -> double
The explicitly defined height of the SpeechBubble.
The SpeechBubble will defaultly enclose its child.
width -> double
The explicitly defined width of the SpeechBubble.
The SpeechBubble will defaultly enclose its child.
padding -> Widget
The padding widget between the child and the edges of the SpeechBubble.