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

sliver_bar_chart कवर
पैकेज विवरणv0.0.1

sliver_bar_chart

एक पैकेज जो फ्लटर स्लिवर में बार चार्ट का समर्थन करता है। इस पैकेज के माध्यम से हम स्लिवर में बार चार्ट जोड़ सकते हैं और उसे स्लिवर स्क्रॉल पर हेडर के रूप में सेट कर सकते हैं।

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

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

flutter pub add sliver_bar_chart

पैकेज अवलोकन

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

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

उपयोग

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

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

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

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

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

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

  • Sliver विजेट्स के बारे में समझ की आवश्यकता है
  • बहुत बड़े डेटासेट के साथ प्रदर्शन पर प्रभाव पड़ सकता है
  • मूल चार्ट स्टाइलिंग के अलावा सीमित कस्टमाइजेशन
  • नीचे की चार्ट रेंडरिंग पुस्तकालय पर निर्भर करता है
  • स्थिर या मध्यम रूप से गतिशील डेटा के लिए सबसे उपयुक्त

मूल README

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

sliver_bar_chart

Flutter Website Dart Website MIT License

It is Sliver component. Bar chart work with sliver animation on expand and collapse. It is an independent component that allows you to set data for the chart with the configuration of Sliver.

Key Features

  • easy way to add bar chart in a Sliver.
  • used to set a bar chart as a Sliver Header.

Preview

sliver_bar_chart

Basic Usage

Import it to your project file

import 'package:sliver_bar_chart/sliver_bar_chart.dart';

And add it in its most basic form like it:

SliverBarChart(
  barWidget: BarChartWidget(
    minHeight: 100.0,
    maxHeight: 1000.0,
    barValues: [
      BarChartData(
        x: '2022',
        y: 500.0,
        barColor: Colors.blue,
      ),
    ],
    isScrolling: true,
  ),
);
Required parameters of SliverBarChart

Parameter Description
BarChartWidget barWidget Used to paint bar chart using custom painter
Optional parameters of SliverBarChart

Parameter Default Description
bool restrain false Whether to stick the header to the start of the viewport once it has reached its minimum size
bool scrolling - Whether sliver is scrolling or not
List heightArray [50.0, 78.0, 90.0, 67.0, 36.0] The array of height for generating the bars of the Bar Chart
double maxWidth 75.0 The maximum width dimensions of the sliver
double minHeight 30.0 The minimum height dimensions of the sliver
double maxHeight 175.0 The maximum height dimensions of the sliver
bool fluctuating false Whether the header should immediately grow again if the user reverses scroll direction
Required parameters of BarChartWidget

Parameter Description
double minHeight The minimum height dimensions of the BarChartWidget
double maxHeight The maximum height dimensions of the BarChartWidget
List barValues hold the list of bar chart data
bool isScrolling Whether sliver is scrolling or not
Optional parameters of BarChartWidget

Parameter Default Description
int yAxisIntervalCount 5 Used to set interval point on Y axis
double xAxisTextRotationAngle 0.0 Used to set X axis text on a rotation angle in case of larger text
Required parameters of BarChartData Model Class

Parameter Description
String x a text that visible on Bar Chart X axis
double y a value that visible on Bar Chart Y axis
Optional parameters of BarChartData Model Class

Parameter Default Description
Color barColor Colors.grey used to set color of the bar
Guideline for contributors

  • Contribution towards our repository is always welcome, we request contributors to create a pull request for development.
Guideline to report an issue/feature request

It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue
  • Library used

LICENSE!

sliver_bar_chart is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

श्रेणियाँ

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

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

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