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

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

lite_rolling_switch

सुंदर और आकर्षक एनिमेशन के साथ कस्टम स्विच बटन, रंग, आइकॉन और अन्य सजावटी सामग्री को कस्टमाइज़ करने के लिए बनाया गया है। अब नल सुरक्षा का समर्थन करता है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
756
लाइक
286
Pub अंक
130

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

flutter pub add lite_rolling_switch

पैकेज अवलोकन

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

Lite Rolling Switch एक कस्टमाइज़ेबल Flutter स्विच विजेट है जिसमें चिकनी, दृश्यतः आकर्षक एनीमेशन होते हैं। यह डेवलपर्स को अपने ऐप के डिज़ाइन के अनुरूप रंग, आइकन और अन्य दृश्य तत्वों को समायोजित करने की अनुमति देता है। नल सेफ्टी के साथ पूरी तरह से संगत है, यह Android, iOS, Web, macOS, Windows और Linux जैसे कई प्लेटफॉर्मों का समर्थन करता है। पैकेज हल्का है और आसानी से एकीकृत किया जा सकता है, जिससे यह भारी ओवरहेड के बिना एक आकर्षक टॉगल इंटरफ़ेस की आवश्यकता वाले ऐप्स के लिए आदर्श है।

उपयोग

  • फॉर्म में कस्टम टॉगल स्विच
  • इंटरैक्टिव सेटिंग्स पैनल
  • डैशबोर्ड में एनिमेटेड UI तत्व
  • उपयोगकर्ता प्राथमिकता टॉगल
  • मोबाइल और वेब ऐप्स में विजुअल फीडबैक

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

  • स्मूथ रोलिंग एनीमेशन
  • कस्टमाइज़ किए गए रंग और प्रतीक
  • नल सुरक्षा समर्थन
  • क्रॉस-प्लेटफॉर्म संगतता
  • हल्का और कार्यक्षम
  • Flutter के साथ आसान एकीकरण

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

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

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

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

मूल README

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

lite_rolling_switch

Full customable rolling switch widget for flutter apps based on Pedro Massango's 'crazy-switch' widget https://github.com/pedromassango/crazy-switch

About

Custom Switch button with attractive animation, made to allow you to customize colors, icons and other cosmetic content. Manage the widget states in the same way you do with the classical material's switch widget.

NOTE: Currently, you cannot directly change the widget height properties. This feature will be available soon.

Previews

Image preview

Image preview 2

Basic Implementation

import 'package:lite_rolling_switch/lite_rolling_switch.dart';

LiteRollingSwitch(
    //initial value
    value: true,
    textOn: 'disponible',
    textOff: 'ocupado',
    colorOn: Colors.greenAccent[700],
    colorOff: Colors.redAccent[700],
    iconOn: Icons.done,
    iconOff: Icons.remove_circle_outline,
    textSize: 16.0,
    onChanged: (bool state) {
      //Use it to manage the different states
      print('Current State of SWITCH IS: $state');
    },
),

Tests

To executed included unit tests run flutter test. Feel free to Pull Request your own Unit Test to improve this package!

Changelog

Visit the complete changelog here.

Contributors

Other collaborators

License

This project has been published under an MIT license, you can consult the license terms in detail here.

Other

श्रेणियाँ

निर्भरताएँ

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

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

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

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