सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
फ्लटर के लिए एक कस्टमाइज़ेबल बॉटम नेविगेशन बार जिसमें उभरी हुई हाइलाइट और सूक्ष्म छाया होती है, जिससे दृश्य गहराई में सुधार होता है। इसकी लचीलापन और आसान एकीकरण के लिए डिज़ाइन किया गया है, जिससे डेवलपर्स को नेविगेशन आइटम के दिखावट और व्यवहार को ढालने की अनुमति मिलती है। पैकेज स्मूथ ट्रांज़िशन का समर्थन करता है और आधुनिक अस्तित्व प्रदान करता है, जो मोबाइल एप्लिकेशन के लिए उपयुक्त है जिनमें इंट्यूटिव बॉटम नेविगेशन की आवश्यकता होती है। यह ऐप्स के लिए आदर्श है जिनमें कई खंड या टैब होते हैं, जहां उपयोगकर्ता अनुभव और दृश्य स्पष्टता को प्राथमिकता दी जाती है।
उपयोग
मोबाइल ऐप बॉटम नेविगेशन
टैब आधारित इंटरफेस डिज़ाइन
कस्टमाइज़ेबल नेविगेशन बार
छाया के साथ अद्वितीय UI
आधुनिक ऐप सौंदर्यशास्त्र
मुख्य विशेषताएँ
उभरा हुआ हाइलाइट प्रभाव
हल्के छाया स्टाइलिंग
बहुत विन्यस्त करने योग्य
स्मूथ संक्रमण
आसान एकीकरण
इनके लिए उपयुक्त
आधुनिक नेविगेशन की तलाश में Flutter विकासकर्मी
एकाधिक सामग्री खंड वाले ऐप्स
डिज़ाइन-केंद्रित मोबाइल एप्लिकेशन
कस्टम UI कार्यान्वयन
दृश्य गहराई की आवश्यकता वाले प्रोजेक्ट्स
विचार योग्य बातें
सीमित प्लेटफॉर्म-विशिष्ट कस्टमाइज़ेशन
सिर्फ संक्रमण के अलावा कोई बिल्ट-इन एनीमेशन नहीं है
अवस्था प्रबंधन के लिए हस्तचालित प्रबंधन की आवश्यकता होती है
जटिल नेस्टेड नेविगेशन के लिए अनअप्टाइमाइज़्ड
पूर्ण कस्टमाइजेशन के लिए बाहरी स्टाइलिंग पर निर्भर करता है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
ff_navigation_bar
A highly configurable navigation bar with emphasis for the selected item.
The navbar has a Theme class which can be used to define the majority of appearance settings for the navbar and its items.
barBackgroundColor: The background color for the entire bar (default = white)
selectedItemBackgroundColor: The background color for the CircleAvatar widget used to display the selected item's icon (default = blueAccent)
selectedItemIconColor: The color for the selected item's icon (default = white)
selectedItemLabelColor: The color for the selected item's label (default = black)
selectedItemBorderColor: The color for the selected item's border (default = white)
unselectedItemBackgroundColor: The background color for unselected items (default = transparent)
unselectedItemIconColor: The color for unselected items' icons (default = grey)
unselectedItemLabelColor: The color for unselected items' icons (default = grey)
selectedItemTextStyle: The text style to use for the selected item's label. The selectedItemLabelColor takes priority over any color attribute of the style (defaults to size = 13.0, weight = Bold)
unselectedItemTextStyle: The text style to use for the unselected items' labels (defaults to size = 12.0, weight = Normal)
barHeight: The height for the bar (which is automatically included within a SafeArea widget)
itemWidth: The width to use for the selected item CircleAvater (default = 48.0)
showSelectedItemShadow: Indicates if the drop shadow below the selected item should be displayed (default = true)
FFNavigationBar Attributes
selectedIndex: The item number (zero indexed) which should be marked as selected
onSelectTab: Callback function to receive tap notifications using the typedef Function(int selectedIndex)
items: List of FFNavigationBarItem objects to be displayed as the bar's items
theme: A FFNavigationBarTheme theme object
FFNavigationBarItem
label: The String to display as the item's label
iconData: The IconData to use in the item's Icon
animationDuration: A Duration object which can be used to tweak the AnimatedContainer behaviour of the navigation bar item.
selectedBackgroundColor: A Color value which can override the theme's selectedItemBackgroundColor value for a specific navigation bar item (used to create different colors for each item)
selectedForegroundColor: A Color value which can override the theme's selectedItemIconColor value
selectedLabelColor: A Color value which can override the theme's selectedItemLabelColor value