Flutter 3.10 के बाद की समस्या को ठीक करने के लिए https://pub.dev/packages/liquid_progress_indicator का उपयोग करें। फ्लूटर में पानी जैसे प्रभाव वाला एक प्रगति सूचक, जो फ्लूटर के अपने ProgressIndicator के समान काम करता है।
सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एक फ्लटर पैकेज जो तरल प्रगति सूचक के नकली एनिमेटेड प्रगति इंडिकेटर प्रदान करता है, मूल liquid_progress_indicator से प्रेरित। यह फ्लटर के आंतरिक ProgressIndicator के समान तरल, गतिशील प्रभावों के साथ दृश्य आकर्षण में सुधार करता है। सभी प्रमुख प्लेटफॉर्म—एंड्रॉइड, आईओएस, वेब, मैकओएस, विंडोज, और लिनक्स पर बिना किसी बाधा के काम करने के लिए डिज़ाइन किया गया है, इस संस्करण में फ्लटर 3.10 के बाद आए मुद्दों को विशेष रूप से ठीक किया गया है। आधुनिक यूआई में आकर्षक लोडिंग प्रतिक्रिया की आवश्यकता वाले लिए आदर्श है।
उपयोग
लोडिंग स्क्रीन
फॉर्म सबमिशन इंडिकेटर्स
बैकग्राउंड टास्क ट्रैकिंग
इंटरैक्टिव ऐप ओनबोर्डिंग
रियल-टाइम डेटा अपडेट
मुख्य विशेषताएँ
तरल जल-जैसी एनिमेशन
क्रॉस-प्लेटफ़ॉर्म सुविधा
Flutter 3.10+ फिक्स
कस्टमाइज़ किए गए रंग और आकार
सभी प्लेटफॉर्मों पर चिकना प्रदर्शन
इनके लिए उपयुक्त
दिखावटी लोडर्स की तलाश में डेवलपर्स
आधुनिक UI डिज़ाइन वाले ऐप्स
बहु-प्लेटफॉर्म Flutter प्रोजेक्ट्स
उपयोगकर्ता अनुभव-केंद्रित एप्लिकेशन
विचार योग्य बातें
कम क्षमता वाले उपकरणों पर प्रदर्शन प्रभावित हो सकता है
पठनीयता के लिए सावधानी से रंग के विपरीत होना आवश्यक है
न्यूनतम डिज़ाइन के लिए उपयुक्त नहीं
मूल शैली के अलावा सीमित कस्टमाइज़ेशन
प्लेटफॉर्म रेंडरिंग क्षमता पर निर्भर
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
liquid_progress_indicator V2
Liquid progress indicator for Flutter.
This version fix the original package Liquid progress indicator issues after upgrading to flutter 3.10 which was making it incompatible.
Features
Liquid circular progress indicator.
Liquid linear progress indicator.
Liquid custom progress indicator.
Works similarly to Flutters own ProgressIndicator.
LiquidCircularProgressIndicator(
value: 0.25, // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
borderColor: Colors.red,
borderWidth: 5.0,
direction: Axis.horizontal, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right). Defaults to Axis.vertical.
center: Text("Loading..."),
);
LiquidLinearProgressIndicator
LiquidLinearProgressIndicator(
value: 0.25, // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
borderColor: Colors.red,
borderWidth: 5.0,
borderRadius: 12.0,
direction: Axis.vertical, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right). Defaults to Axis.horizontal.
center: Text("Loading..."),
);
LiquidCustomProgressIndicator
LiquidCustomProgressIndicator(
value: 0.2 // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
direction: Axis.vertical, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right).
shapePath: _buildBoatPath(), // A Path object used to draw the shape of the progress indicator. The size of the progress indicator is created from the bounds of this path.
)
This version has been fixed to work on FENLES APP. However can be freely used as it contains only the fix for newer flutter versions