FLUTTER ECOSYSTEM

tuannvm2109/bottom_bar_matu

플러터용 아름다운 애니메이션 바텀 네비게이션 바 패키지

bottom_bar_matu 프로젝트 이미지
Stars
24
Forks
5
최근 푸시(UTC)
2024. 5. 10.
프로젝트 상태
활성
Mạnh Tuấn GitHub avatar
GITHUB User

Mạnh Tuấn ↗

Flutter Developer

언어DartC++CMakeHTMLCSwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^2.0.0

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

A beautiful and animated bottom navigation bar.

Here are some supported style:

BottomBarBubble

DEMO

BottomBarDoubleBullet

DEMO

BottomBarLabelSlide

DEMO

Usage

Simple implementation with Icons.data:
bottomNavigationBar: BottomBarBubble(
    selectedIndex: _index,
    items: [
        BottomBarItem(iconData: Icons.home),
        BottomBarItem(iconData: Icons.chat),
        BottomBarItem(iconData: Icons.notifications),
        BottomBarItem(iconData: Icons.calendar_month),
        BottomBarItem(iconData: Icons.settings),
    ],
    onSelect: (index) {
      // implement your select function here
    },
),
Implementation with your custom widget:
bottomNavigationBar: BottomBarBubble(
    selectedIndex: _index,
    items: [
        BottomBarItem(
          iconBuilder: (color) => Image.asset('assets/ic_alarm.png', color: color, height: 30, width: 30)),
        BottomBarItem(
          iconBuilder: (color) => Image.asset('assets/ic_bill.png', color: color, height: 30, width: 30)),
        BottomBarItem(
          iconBuilder: (color) => Image.asset('assets/ic_box.png', color: color, height: 30, width: 30)),
    ],
    onSelect: (index) {
      // implement your select function here
    },
),

License

Copyright (c) 2021 Tuannvm

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.