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

पैकेज विवरणv1.0.3

flutter_counter

Flutter Counter एक सरल और कस्टमाइज़ किया गया प्लगइन है जो डार्ट में लिखा गया है और फ्लटर के लिए है। इसे किसी भी अन्य विजेट की तरह बनाएं, आवश्यकता के अनुसार पैरामीटर जोड़ें और तैयार!

30-दिन डाउनलोड
42
लाइक
9
Pub अंक
40

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

flutter pub add flutter_counter

पैकेज अवलोकन

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

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

उपयोग

  • फॉर्म इनपुट नियंत्रण
  • शॉपिंग कार्ट में मात्रा चयनकर्ता
  • इंटरैक्टिव यूआई तत्व
  • उपयोगकर्ता प्राथमिकता सेटिंग्स
  • गेम स्कोर ट्रैकिंग

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

  • कस्टमाइज़ किए गए प्रारंभिक मान
  • विनियमित चरण आकार
  • रेंज सीमा समर्थन
  • परिवर्तन पर कॉलबैक
  • सरल एकीकरण

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

  • शुरुआती Flutter विकासकर्ता
  • सरल फॉर्म घटक
  • हल्के यूआई सुधार
  • त्वरित प्रोटोटाइपिंग
  • बेसिक संख्यात्मक इनपुट की आवश्यकता

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

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

मूल README

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

Flutter Counter (iOS & Android)

Description

Flutter Counter is a plugin written in dart for flutter which is really simple and customizeable. Create it like any other widget, add params according to your need and presto! You have got the highly customizeable counter with callbacks. Zero boilerplate!



Getting Started

Create this widget as you do with other widgets

Counter(
  initialValue: _defaultValue,
  minValue: 0,
  maxValue: 10,
  step: 0.5,
  decimalPlaces: 1,
  onChanged: (value) { // get the latest value from here
    setState(() {
      _defaultValue = value;
    });
  },
),

Constructor Options

There are some required values and other are for the customization

  @required num initialValue    // default value
  @required this.minValue       // minimum value
  @required this.maxValue       // maximum value
  @required this.onChanged      // callback
  @required this.decimalPlaces  // decimal places you want to show the value of
  this.color                    // color of the buttons
  this.textStyle                // text style which displays the value
  this.step = 1                 // step you want to set to change value
  this.buttonSize = 25          // if you want to change size of button

Beautify your widget with provided customization. You can also change color and size of both buttons and text. Very simple to implement and looks awesome. You can find more details in sample app.

Contributions and Licence

FlutterCounter is available under the MIT license. See the LICENSE file for more info.

Pull requests are welcome! The best contributions will consist of substitutions or configurations for classes/methods known to block the main thread during a typical app lifecycle.

I would love to know if you are using Counter in your app, send an email to [Salmaan Ahmed](mailto:salmaan.ahmed@hotmail.com)

श्रेणियाँ

निर्भरताएँ

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

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

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

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