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

fancy_bottom_navigation कवर
पैकेज विवरणv0.3.3

fancy_bottom_navigation

फ्लटर ऐप्स के लिए एनीमेटेड बॉटम नेविगेशन बार, आइकन स्थान पर एनीमेट होता है, रंग कस्टमाइज़ किए जा सकते हैं।

30-दिन डाउनलोड
356
लाइक
229
Pub अंक
60

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

flutter pub add fancy_bottom_navigation

पैकेज अवलोकन

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

Fancy Bottom Navigation एक Flutter पैकेज है जो स्मूथ आइकन ट्रांजिशन और कस्टमाइज़ेबल रंग के साथ एनिमेटेड बॉटम नेविगेशन बार प्रदान करता है। यह टैब के बीच स्विच करते समय डायनामिक विजुअल फीडबैक प्रदान करके मोबाइल ऐप्स के यूजर इंटरफेस को बढ़ावा देता है। एनिमेशन प्रभाव आइकन को शानदार ढंग से दिखाता है और उपयोगकर्ता अनुभव को बेहतर बनाता है। डेवलपर्स अपने ऐप के डिज़ाइन भाषा के अनुरूप दिखावट और व्यवहार को आसानी से कस्टमाइज़ कर सकते हैं। आधुनिक, आकर्षक नेविगेशन पैटर्न की आवश्यकता वाले ऐप्स के लिए आदर्श।

उपयोग

  • टैब-आधारित नेविगेशन वाले मोबाइल एप्स
  • एनिमेटेड ट्रांजिशन के साथ UI/UX में सुधार
  • नीचे के नेविगेशन दिखावट को कस्टमाइज़ करना
  • दिखावटी रूप से आकर्षक डैशबोर्ड बनाना
  • इंटरैक्टिव ऐप इंटरफेस डिज़ाइन करना

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

  • एनिमेटेड आइकन ट्रांजिशन
  • पूरी तरह से कस्टमाइज़ किए गए रंग
  • स्मूथ टैब स्विचिंग प्रभाव
  • मौजूदा Flutter प्रोजेक्ट्स के साथ आसान एकीकरण
  • कस्टम आइकॉन और लेबल स्टाइलिंग का समर्थन करता है

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

  • आधुनिक नेविगेशन की तलाश में Flutter विकासकर्मी
  • दृश्य आकर्षण पर केंद्रित ऐप्स
  • एनिमेटेड UI कंपोनेंट्स की आवश्यकता वाले प्रोजेक्ट्स
  • डिज़ाइन-आधारित मोबाइल एप्लिकेशन
  • त्वरित नेविगेशन सुधार के लिए विकासकर्ता

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

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

मूल README

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

FancyBottomNavigation

Fancy Gif

Getting Started

Add the plugin (pub coming soon):

dependencies:
  ...
  fancy_bottom_navigation: ^0.3.2

Limitations

For now this is limited to more than 1 tab, and less than 5. So 2-4 tabs.

Basic Usage

Adding the widget

bottomNavigationBar: FancyBottomNavigation(
    tabs: [
        TabData(iconData: Icons.home, title: "Home"),
        TabData(iconData: Icons.search, title: "Search"),
        TabData(iconData: Icons.shopping_cart, title: "Basket")
    ],
    onTabChangedListener: (position) {
        setState(() {
        currentPage = position;
        });
    },
)

TabData

iconData -> Icon to be used for the tab
title -> String to be used for the tab
onClick -> Optional function to be used when the circle itself is clicked, on an active tab

Attributes

required

tabs -> List of TabData objects
onTabChangedListener -> Function to handle a tap on a tab, receives int position

optional

initialSelection -> Defaults to 0
circleColor -> Defaults to null, derives from Theme
activeIconColor -> Defaults to null, derives from Theme
inactiveIconColor -> Defaults to null, derives from Theme
textColor -> Defaults to null, derives from Theme
barBackgroundColor -> Defaults to null, derives from Theme
key -> Defaults to null

Theming

The bar will attempt to use your current theme out of the box, however you may want to theme it. Here are the attributes:

Fancy Theming

Programmatic Selection

To select a tab programmatically you will need to assign a GlobalKey to the widget. When you want to change tabs you will need to access the State using this key, and then call setPage(position).
See example project, main.dart, line 75 for an example.

Showcase

Using this package in a live app, let me know and I'll add you app here.

Inspiration

This package was inspired by a design on dribbble by Manoj Rajput:
https://dribbble.com/shots/5419022-Tab

Contributing

Contributions are welcome, please submit a PR :)

श्रेणियाँ

निर्भरताएँ

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

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

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