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

animated_button कवर
पैकेज विवरणv0.3.1

animated_button

एक सरल और बहुत कस्टमाइज़ेबल एनीमेटेड बटन जिसमें 3D जैसा प्रभाव है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
979
लाइक
169
Pub अंक
140

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

flutter pub add animated_button

पैकेज अवलोकन

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

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

उपयोग

  • इंटरैक्टिव ऐप इंटरफेस
  • गेमिफाइड उपयोगकर्ता अनुभव
  • आधुनिक मोबाइल और वेब एप्लिकेशन
  • सुधारित फॉर्म सबमिशन
  • डिजिटल उत्पादों में दृश्य प्रतिक्रिया

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

  • 3D-जैसा एनिमेशन प्रभाव
  • उच्च रूप से कस्टमाइज़ किया गया दिखावट
  • स्मूथ ट्रांजिशन एनीमेशन
  • क्रॉस-प्लेटफॉर्म संगतता
  • Flutter के साथ आसान एकीकरण
  • प्रतिक्रियाशील टच प्रतिक्रिया

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

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

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

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

मूल README

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

Animated Button

A very simple and customizable animated button. Providing simple animation, and many customizable attributes such height, width, child, ... etc.

Getting Started

Nothing difficult here, yet!

Simple Example

import 'package:animated_button/animated_button.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Animated Button Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Demo(),
    );
  }
}

class Demo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child:             AnimatedButton(
          onPressed: () {},
          color: Colors.blue,
          enabled: true,
          disabledColor: Colors.grey,
          shadowDegree: ShadowDegree.light,
          borderRadius: 8,
          duration: 85,
          height: 40,
          width: 140,
          child: Text(
            'Animated button',
            style: TextStyle(
              fontSize: 14,
              color: Colors.white,
              fontWeight: FontWeight.w500,
            ),
          ),
        ),
      ),
    );
  }
}

Button attributes

AnimatedButton(
child: ...,			    // Child widget, Row, Text, Column,...etc.
onPressed: () {},  	// Callback for onTap event
duration: 70,  		  // Animaton duration, default is 70 Milliseconds
height: 100,  		  // Button Height, default is 64
width: 200,  			  // Button width, default is 200
enabled: true,  		// When disabled, onTap won't be called
shadowDegree: ShadowDegree.dark, // Shadow color is generated from button color,
color: Colors.blue,
disabledColor: Colors.grey,
borderRadius: 8,
)

For more examples, check example folder

License

MIT License.

श्रेणियाँ

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

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

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