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

rounded_loading_button_plus कवर
पैकेज विवरणv3.0.1

rounded_loading_button_plus

Flutter के लिए एक सरल एनिमेटेड लोडिंग बटन विजेट का कार्यान्वयन

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
2.7 हज़ार
लाइक
79
Pub अंक
155

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

flutter pub add rounded_loading_button_plus

पैकेज अवलोकन

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

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

उपयोग

  • लोडिंग स्थिति के साथ फॉर्म सबमिशन
  • API कॉल ट्रिगर
  • उपयोगकर्ता प्रमाणीकरण प्रवाह
  • इंटरैक्टिव यूआई तत्व
  • मोबाइल ऐप में प्रगति संकेत

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

  • एनिमेटेड लोडिंग ट्रांजीशन
  • कस्टमाइज़ किए गए बटन आकृति
  • निर्धारित रंग और आकार
  • क्रॉस-प्लेटफ़ॉर्म समर्थन
  • onPressed के साथ सरल एकीकरण
  • सुलभ एनीमेशन प्रभाव

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

  • इंटरैक्टिव फॉर्म बनाने वाले डेवलपर्स
  • असिंक्रोनस ऑपरेशन के दौरान दृश्य प्रतिक्रिया की आवश्यकता वाले ऐप्स
  • उपयोगकर्ता इंटरफ़ेस केंद्रित Flutter प्रोजेक्ट
  • शुरुआती से मध्यम स्तर तक के Flutter विकासकर्मी
  • Android, iOS, Web, macOS, Windows और Linux के लिए प्रोजेक्ट

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

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

मूल README

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

rounded_loading_button_plus

pub package build codecov style: effective dart License: MIT Awesome Flutter

RoundedLoadingButton is a Flutter package with a simple implementation of an animated loading button, complete with success and error animations.

Installation

Add this to your pubspec.yaml:

dependencies:
    rounded_loading_button_plus: ^2.0.8

Usage

Import
import 'package:rounded_loading_button_plus/rounded_loading_button_plus.dart';
Simple Implementation
final RoundedLoadingButtonController _btnController = RoundedLoadingButtonController();

void _doSomething() async {
    Timer(Duration(seconds: 3), () {
        _btnController.success();
    });
}

RoundedLoadingButton(
    child: Text('Tap me!', style: TextStyle(color: Colors.white)),
    controller: _btnController,
    onPressed: _doSomething,
)

The Rounded Loading Button has many configurable properties, including:

  • duration - The duration of the button animation
  • loaderSize - The size of the CircularProgressIndicator
  • animateOnTap - Whether to trigger the loading animation on the tap event
  • resetAfterDuration - Reset the animation after specified duration, defaults to 15 seconds
  • errorColor - The color of the button when it is in the error state
  • successColor - The color of the button when it is in the success state
  • successIcon - The icon for the success state
  • failedIcon - The icon for the failed state

Contributions

All contributions are welcome!

श्रेणियाँ

निर्भरताएँ

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

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

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