시각적 깊이를 강화하기 위해 돌출된 하이라이트와 미세한 그림자를 갖춘 커스터마이징 가능한 플러터 하단 탐색 바입니다. 유연하고 쉽게 통합할 수 있도록 설계되어 개발자가 탐색 항목의 외관과 동작을 맞춤 설정할 수 있습니다. 부드러운 전환을 지원하며 직관적인 하단 탐색이 필요한 모바일 애플리케이션에 적합한 현대적인 미학을 제공합니다. 사용자 경험과 시각적 명확성이 우선시되는 다수의 섹션 또는 탭을 가진 앱에 이상적입니다.
사용 사례
모바일 앱 하단 탐색
탭 기반 인터페이스 디자인
사용자 정의 가능한 탐색 막대
그림자와 함께 개선된 UI
현대 앱 미학
주요 기능
강조된 하이라이트 효과
섬세한 그림자 스타일
매우 구성 가능
부드러운 전환
간편한 통합
적합한 대상
현대적인 탐색을 원하는 플러터 개발자
여러 콘텐츠 섹션을 가진 앱
디자인 중심의 모바일 애플리케이션
사용자 정의 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