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

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

spinner

एक सरल एनिमेटेड स्पिनर जो निर्धारित आकार के विजेट्स की एक गोलाकार सूची के माध्यम से चक्कर लगाता है

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

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

flutter pub add spinner

पैकेज अवलोकन

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

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

उपयोग

  • फॉर्म में लोडिंग सूचकांक
  • प्रगति में बैकग्राउंड कार्यों को प्रदर्शित करना
  • डेटा लेने के दौरान उपयोगकर्ता अनुभव में सुधार करना
  • नैविगेशन ट्रांज़िशन में दृश्य प्रतिक्रिया
  • सरल एनीमेशन स्थानापन्न

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

  • सर्कुलर विजेट साइकलिंग
  • निश्चित आकार के विजेट समर्थन
  • स्मूथ एनीमेशन संक्रमण
  • आवश्यक विन्यास न्यूनतम
  • हल्का और कार्यक्षम

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

  • सरल लोडिंग एनिमेशन चाहने वाले डेवलपर्स
  • हल्के दृश्य संकेतों की आवश्यकता वाले UI डिज़ाइनर
  • हल्के प्रगति संकेतक की आवश्यकता वाले ऐप्स
  • कठोर प्रदर्शन सीमाओं वाले परियोजनाएँ

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

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

मूल README

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

Spinner

This flutter package implements a simple Spinner animation that cycles through any number of fixed size child widgets. Useful for selecting a random word from a list and displaying it to a user.

It can animate vertically, up or down:

Or horizontally, left or right:

Usage

To use this plugin, add spinner as a dependency in your pubspec.yaml file.

Example

See the example project in the repo for a quick demo

API

Spinner has several useful parameters. You can see them used in the example file

  • duration: change the duration of the animation

  • animationSpeed: change how fast the animation moves and what index the animation lands on

  • spinDirection: change the direction of animation

  • containerCount: number of containers that should appear on screen

  • containerSize: for vertical scroll, this is the width of each container produced by the builder function. For horizontal, this is the height

  • builder: a function that takes in an integer and returns a widget with height/width of containerSize

  • curve: the curve for the animation to follow. Defaults to easeInOutCubic

  • callback: a function called when the animation completes

  • zoomFactor: optional zoom in by this amount during the animation. It looks something like this, with a zoom factor of 1.5:

श्रेणियाँ

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

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

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