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

cool_stepper कवर
पैकेज विवरणv1.2.1

cool_stepper

CoolStepper एक विजेट है जो क्रमिक ऑपरेशन के अनुक्रम को प्रदर्शित करता है। यह फॉर्म विजार्ड या ओनबोर्डिंग के लिए उपयोगी हो सकता है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
1.3 हज़ार
लाइक
147
Pub अंक
130

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

flutter pub add cool_stepper

पैकेज अवलोकन

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

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

उपयोग

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

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

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

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

  • गाइडेड वर्कफ़्लो बनाने वाले विकासकर्ता
  • स्मार्ट नेविगेशन की आवश्यकता वाले ऐप्स
  • आधुनिक स्टेपर घटकों की तलाश कर रहे डिज़ाइनर
  • न्यूनतम बॉलरप्लेट कोड वाले प्रोजेक्ट्स
  • बहुप्लेटफॉर्म लक्षित करने वाली टीमें

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

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

मूल README

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

cool_stepper

CoolStepper is a widget that displays a step by step sequence of operations. it could be helpful for a form wizard or onboarding.

Usage

To use this package, add cool_stepper as a dependency in your pubspec.yaml file. And add this import to your file.

import 'package:cool_stepper/cool_stepper.dart';

Screenshots

Example
CoolStepper(
   onCompleted: () {},
   steps: List<CoolStep>[
       CoolStep(
        title: "Basic Information",
        subtitle: "Please fill some of the basic information to get started",
        content: Container()
       ),
   ],
);

For each step, return a null, if you want the validation to pass or a String message which would be displayed if you set the showErrorSnackbar attribute to true.

validation: () {
          if (!_formKey.currentState!.validate()) {
            return 'Fill form correctly';
          }
          return null;
        },
CoolStepper Class
Attribute Data type Description Default Value
onCompleted Void Function() @required - A function that is triggers when all steps have been completed Null
steps List @required Null
config CoolStepperConfig Helps to customize your stepper CoolStepperConfig(backText: "BACK", nextText: "NEXT", stepText: "STEP", ofText: "OF")
showErrorSnackbar boolean Shows a snakbar at the bottom of the page when a step validation fails if set to true false
CoolStepperConfig Properties
Attribute Data type Description Default Value
backText String The text that should be displayed for the back button BACK
nextText String The text that should be displayed for the next button NEXT
finalText String The text that should be displayed for the next button on the final step FINISH
stepText String The text that describes the progress STEP
ofText String The text that describes the progress OF
headerColor Color This is the background color of the header Theme.of(context).primaryColor.withOpacity(0.1)
iconColor Color This is the color of the icon Color.black38
icon Icon This icon replaces the default icon Icon(Icons.help_outline,size: 18,Colors.black38)
titleTextStyle TextStyle This is the textStyle for the title text TextStyle(fontSize: 16.0,fontWeight: FontWeight.bold,color: Colors.black38)
subtitleTextStyle TextStyle This is the textStyle for the subtitle text TextStyle(fontSize: 14.0,fontWeight: FontWeight.w600,color: Colors.black)
backTextList List A List of string that when supplied will override 'backText'. Must be one less than the number of steps since for the first step, the backText won't be visible null
nextTextList List A List of string that when supplied will override 'nextText'Must be one less than the number of steps since the 'finalText' attribute is able to set the value for the final step's next button null

श्रेणियाँ

निर्भरताएँ

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

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

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

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