드래그 앤 드롭을 통해 하단 탐색 바를 사용자 정의할 수 있는 플러터 패키지입니다. 사용자는 항목을 끌어서 재정렬할 수 있어 동적이고 개인화된 탐색 경험을 제공합니다. 버튼과 레이아웃에 대한 완전한 사용자 정의를 지원하여 유연한 사용자 인터페이스가 필요한 앱에 이상적입니다. 안드로이드, iOS, 웹, macOS, Windows, 리눅스 등 모든 주요 플랫폼에서 작동합니다.
사용 사례
사용자 정의 가능한 앱 탐색
사용자 중심의 UI 개인화
인터랙티브 하단 바 레이아웃
동적 탭 재정렬
크로스플랫폼 모바일 및 웹 앱
상호작용을 통한 사용자 참여도 향상
주요 기능
드래그 앤 드롭 항목 재정렬
완전히 사용자 정의 가능한 버튼 표시
다수의 플랫폼을 지원합니다
실시간 내비게이션 업데이트
확장 가능한 디자인 옵션
부드러운 애니메이션 전환
적합한 대상
인터랙티브 앱을 개발하는 개발자
유연한 탐색을 원하는 디자이너
사용자 정의 가능한 인터페이스를 가진 앱
다중 플랫폼 Flutter 프로젝트
동적 UI 프로토타이핑
고려 사항
상태 관리에 주의 깊게 대응해야 합니다
많은 항목이 있을 경우 성능에 영향을 줄 수 있습니다
모든 대상 플랫폼에서 테스트 필요
사용 가능한 문서가 제한되어 있습니다
간단한부터 중간 정도로 복잡한 네비게이션 구조에 가장 적합
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
draggable_customized_btn_navy_bar
A bottom navigation bar that you can customize with the options you need, without any limits. You can also customize the appearance of the navigation bar.
The package is solving a problem with package bottom_personalized_dot_bar as it solves i's issues and issues can be summarized in the following points:
it's old and the owner didn't update it since 3 years.
Some exception was caught by gestures.
no clear definition for the max number and min number of displayed items.
forget changes that take places in the displayed and hidden items in eah run, so the user setup will be forgetten once the app is closed.
not cross platform.
The Btn Nav bat is very beautiful and many people likes it so much. For these reasons I build this package for public to help them to add this beautful btn nav bar to their projets. I wish this will help you.
unique key which allow multiple NavBar with different configuration
items
List of items to be displayed in the navigation bar
hiddenItems
List of items that will be hidden
maximumNumberOfDisplayItems
max number of displayed items - default:5
onDisplayedStackOverflows
function to be done if the user want to add item to the displayed items and he reaches to the max diplayed number of items - default : showSnackBar. onDisplayedStackOverflows: () { /* Your action */ }
minimumNumberOfDisplayedItems
min number of displayed items - default:1
onDisplayedStackIsEmpty
function to be done if the user want to remove item from the displayed items and he reaches to the min diplayed number of items - default : showSnackBar . onDisplayedStackIsEmpty: () { /* Your action */ }
keyItemSelected
Item key that is selected
width
Navigation bar width
height
Navigation bar height
borderRadius
Navigation bar radius
selectedColorIcon
Selected Icon color
unSelectedColorIcon
Unselected Icon color
navigatorBackground
Navigator Container Background color
settingBackground
Setting Container Background color (Hidden items)
iconSetting
Settings button icon
iconSettingColor
Settings button icon color
settingTitleText
Setting Title Text
settingTitleColor
Setting Title color
settingSubTitleText
Setting Sub-Title Text
settingSubTitleColor
Setting Sub-Title color
doneText
Done button Text
textDoneColor
Text Done Color
buttonDoneColor
Button done color
hiddenItemBackground
Background of hidden item
iconHiddenColor
Icon Hidden Color
textHiddenColor
Text Hidden Color
dotColor
Selection Indicator Color (Dot
boxShadow
Shadow of container
onOrderHideItems
Event when you sort the hidden options, this has as parameter the list of hidden options with the new order. onOrderHideItems: (List<BottomPersonalizedDotBarItem> hiddenItems) { /* Your action */ }
onOrderItems
Event when ordering browser options, this has as parameter the list of options with the new order onOrderItems: (List<BottomPersonalizedDotBarItem> items) { /* Your action */ }
onAddItem
Event when you add a new option to the navigation bar, this has as parameters the item you add and the list of options. onAddItem: (BottomPersonalizedDotBarItem itemAdd, List<BottomPersonalizedDotBarItem> items) { /* Your action */ }
onRemoveItem
Event when you delete an option from the navigation bar, this has as parameters the element to delete and the list of hidden options. onRemoveItem: (BottomPersonalizedDotBarItem itemRemove, List<BottomPersonalizedDotBarItem> hiddenItems) { /* Your action */ }
DraggableCustomizedDotBarItem
Attribute
Description
keyItem
Unique key
icon
Item icon
name
Item name
onTap
Event with you press the item. onTap: (String keyItem) { /* Your action */ }
License & Accesability
This is the first version of my package so if you see any problems you're free to open an issue.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.