Orientação gerada a partir de informações públicas. Apenas para referência.
Uma barra de navegação inferior personalizável para o Flutter que apresenta um destaque elevado e uma sombra sutil para aumentar a profundidade visual. Projetada para ser flexível e fácil de integrar, permite que os desenvolvedores ajustem a aparência e o comportamento dos itens de navegação. O pacote suporta transições suaves e oferece uma estética moderna adequada para aplicativos móveis que exigem navegação inferior intuitiva. É ideal para aplicativos com múltiplas seções ou guias onde a experiência do usuário e a clareza visual são priorizadas.
Casos de uso
Navegação inferior do aplicativo móvel
design de interface com abas
Barras de navegação personalizáveis
Interface aprimorada com sombras
Estética moderna de aplicativos
Principais recursos
Efeito de destaque elevado
Estilo sutil de sombra
Altamente configurável
Transições suaves
Integração fácil
Indicado para
Desenvolvedores Flutter em busca de navegação moderna
Aplicativos com várias seções de conteúdo
Aplicativos móveis focados no design
Implementações de UI personalizadas
Projetos que exigem profundidade visual
Considerações
Personalização específica de plataforma limitada
Nenhuma animação embutida além das transições
Requer manipulação manual da gestão de estado
Não otimizado para navegação aninhada complexa
Depende de estilos externos para personalização completa
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
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