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

rating_summary कवर
पैकेज विवरणv1.0.4

rating_summary

एक सारांश आंकड़ा विशेषता बनाएं जो उत्पाद के रेटिंग और औसत रेटिंग को प्रदर्शित करे।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
324
लाइक
54
Pub अंक
160

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

flutter pub add rating_summary

पैकेज अवलोकन

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

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

उपयोग

  • ई-कॉमर्स ऐप में उत्पाद रेटिंग्स को प्रदर्शित करना
  • रिव्यू पेज पर औसत रेटिंग दिखाएं
  • उपयोगकर्ता प्रतिक्रिया इंटरफेस को बढ़ावा देना
  • मोबाइल और वेब ऐप्स में रेटिंग स्टैट्स का एकीकरण
  • ग्राहक संतुष्टि मापदंडों का दृश्यीकरण
  • इंटरैक्टिव रिव्यू डैशबोर्ड बनाना

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

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

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

  • ई-कॉमर्स एप्लिकेशन डेवलपर्स
  • समीक्षा और प्रतिक्रिया प्रणाली डिज़ाइनर
  • मोबाइल और वेब ऐप निर्माता
  • Flutter का उपयोग करने वाले UI/UX डिज़ाइनर
  • त्वरित रेटिंग विजेट खोज रहे डेवलपर्स

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

  • Flutter SDK सेटअप की आवश्यकता है
  • रेटिंग-विशिष्ट उपयोग मामलों तक सीमित
  • कोई निर्मित मूल्यांकन इनपुट कार्यक्षमता नहीं है
  • बाहरी GitHub भंडार पर निर्भर करता है
  • जटिल डिजाइन के लिए अतिरिक्त स्टाइलिंग की आवश्यकता हो सकती है

मूल README

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

Rating Summary Widget

Create a summary statistic Widget to display the rating and average rating of a product.

Screenshot of the raring summary widget with the average rewiew indicator Screenshot of the raring summary widget without the average rewiew indicator

Installing:

  1. Add the dependency in your pubspec.yaml file.
dependencies:
  rating_summary: ^1.0.2+1
  1. Import the rating_summary package.
import 'package:rating_summary/rating_summary.dart';

Usage

RatingSummary(
  counter: 13,
  average: 3.846,
  showAverage: true,
  counterFiveStars: 5,
  counterFourStars: 4,
  counterThreeStars: 2,
  counterTwoStars: 1,
  counterOneStars: 1,
)
Parameters
Parameter Description Type Default Required
counter The total number of ratings. int - ✓
average The average rating. double 0.0 -
showAverage Show the average rating indicator. bool true -
averageStyle The style of the average rating indicator. TextStyle TextStyle(fontWeight: FontWeight.bold, fontSize: 40) -
counterFiveStars The number of 5 star ratings. int 0 -
counterFourStars The number of 4 star ratings. int 0 -
counterThreeStars The number of 3 star ratings. int 0 -
counterTwoStars The number of 2 star ratings. int 0 -
counterOneStars The number of 1 star ratings. int 0 -
labelCounterFiveStars The label of the 5 star rating. Widget Text( '5', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterFourStars The label of the 4 star rating. Widget Text( '4', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterThreeStars The label of the 3 star rating. Widget Text( '3', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterTwoStars The label of the 2 star rating. Widget Text( '2', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterOneStars The label of the 1 star rating. Widget Text( '1', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterFiveStarsStyle The style of the 5 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterFourStarsStyle The style of the 4 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterThreeStarsStyle The style of the 3 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterTwoStarsStyle The style of the 2 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterOneStarsStyle The style of the 1 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
label The label of the rating summary. String "Rating" -
labelStyle The style of the label. TextStyle TextStyle(fontWeight: FontWeight.w600) -
color The primary color of the rating summary. Color Colors.amber -
backgroundColor The background color of the rating summary. Color Color(0xFFEEEEEE) -
space The space between the label and the bar. double 20 -
thickness The thickness of the bar. doubel 10 -
starColor The color of stars. Color Colors.amber -
alignment The alignment of rating summary. CrossAxisAlignment CrossAxisAlignment.center -

श्रेणियाँ

निर्भरताएँ

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

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

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

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