v0.0.8water_bottle
इस लाइब्रेरी में आपके स्क्रीन पर एक बोतल विजेट जोड़ा गया है। आप इसे लोडिंग इंडिकेटर, प्रगति ट्रैकर, या किसी भी ऐसे माप के रूप में उपयोग कर सकते हैं जो आपकी आवश्यकताओं के अनुरूप हो।
आपके Flutter प्रोजेक्ट के लिए एक सुंदर पानी की बोतल
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
This library add a bottle widget to your screen. You can use it as a loading indicator, a progress tracker, or any kind of measurement suits your needs.


Sphere bottle get reduced to a ball when aspect ratio smaller than 1
To use this library, add water_bottle as a dependency in your pubspec.yaml file.
Import it where you need
import 'package:water_bottle/water_bottle.dart';
Build bottle widget
final plainBottleRef = GlobalKey<WaterBottleState>();
WaterBottle(
key: plainBottleRef,
waterColor: Colors.blue,
bottleColor: Colors.lightBlue,
capColor: Colors.blueGrey
)
Update widget
plainBottleRef.currentState?.waterLevel = 0.5;// 0.0~1.0
For more please refer /example folder
For more information, or contribution, please refer to the original github
निर्भरता सूची 4 आइटम
{"sdk":"flutter"}^1.1.0{"sdk":"flutter"}^6.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗