패키지, 저장소 및 앱 카테고리 검색

custom_line_indicator_bottom_navbar 표지
패키지 상세v0.0.8

custom_line_indicator_bottom_navbar

상단 및 하단 인디케이터와 그라데이션을 갖춘 완전히 사용자 정의 가능한 하단 네비게이션 바입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
132
좋아요
28
Pub 점수
150

패키지 설치

flutter pub add custom_line_indicator_bottom_navbar

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

그라데이션 지원을 하는 상단 및 하단 인디케이터를 갖춘 매우 사용자 정의 가능한 하단 네비게이션 바입니다. 다양한 플랫폼에서 현대적이고 시각적으로 풍부한 탐색 경험을 원하는 개발자를 위한 것입니다. 이 패키지는 인디케이터의 색상, 모양, 애니메이션 및 위치에 대한 세밀한 제어를 가능하게 하여 고유한 UI 디자인을 구현할 수 있습니다. Flutter 앱에 원활하게 통합되며 Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원합니다.

사용 사례

  • 시각적 피드백이 있는 사용자 지정 앱 탐색
  • 그라데이션을 사용한 브랜드 하단 바 만들기
  • 애니메이션 인디케이터를 통한 사용자 경험 향상
  • 다중 플랫폼 애플리케이션 빌드
  • 현대적인 모바일 및 웹 인터페이스 설계

주요 기능

  • 완전히 사용자 정의 가능한 지표
  • 상단 및 하단 양쪽에 그라데이션 지원
  • 탭 간 애니메이션 전환
  • 크로스 플랫폼 호환성
  • 사용자 지정 가능한 색상과 형태
  • 부드러운 스크롤링 및 탭 인터랙션

적합한 대상

  • 현대적인 UI를 구축하는 Flutter 개발자
  • 맞춤형 탐색이 필요한 디자인 중심 애플리케이션
  • 다중 플랫폼을 대상으로 하는 앱
  • 하단 네비게이션 표시에 대해 세밀한 제어를 원하는 개발자

고려 사항

  • Flutter 레이아웃 원칙에 대한 이해가 필요합니다
  • 복잡한 테마에 대해 추가 스타일링이 필요할 수 있습니다
  • 중량 애니메이션으로 인한 성능 영향
  • 기본 설정 외에는 문서가 제한적
  • 3~6개의 탐색 항목을 가진 앱에 가장 적합

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

custom_line_indicator_bottom_navbar

A fully customizable bottom navigation bar with line indicators and gradient.

alert2 alert2

Usage without gradient:

        class MyExample extends StatefulWidget {
        @override
        _MyExampleState createState() => _MyExampleState();
        }

        class _MyExampleState extends State<MyExample> {
        int _selectedIndex = 0; //default index

        List<Widget> _widgetOptions = [
            Text('Home'),
            Text('Account'),
            Text('Leaves'),
            Text('Loyalty'),
            Text('Requests'),
        ];
        @override
        Widget build(BuildContext context) {
            return Scaffold(
            appBar: AppBar(
                title: Text('Example'),
            ),
            body: Center(
                child: _widgetOptions.elementAt(_selectedIndex),
            ),
            bottomNavigationBar: CustomLineIndicatorBottomNavbar(
                selectedColor: Colors.blue,
                unSelectedColor: Colors.black54,
                backgroundColor: Colors.white,
                currentIndex: _selectedIndex,
                onTap: (index) {
                setState(() {
                    _selectedIndex = index;
                });
                },
                enableLineIndicator: true,
                lineIndicatorWidth: 3,
                indicatorType: IndicatorType.Top,
                // gradient: LinearGradient(
                //   colors: kGradients,
                // ),

                customBottomBarItems: [
                CustomBottomBarItems(
                    label: 'Home',
                    icon: Icons.home,
                ),
                CustomBottomBarItems(
                    label: 'Account',
                    icon: Icons.account_box_outlined,
                ),
                CustomBottomBarItems(
                    label: 'Leaves', icon: Icons.calendar_today_outlined),
                CustomBottomBarItems(
                    label: 'Loyalty',
                    icon: Icons.card_giftcard_rounded,
                ),
                CustomBottomBarItems(
                    label: 'Requests',
                    icon: Icons.list,
                ),
                ],
            ),
            );
        }
        }

Usage with gradient :

class MyExample extends StatefulWidget {

    @override
    _MyExampleState createState() => _MyExampleState();
}

class _MyExampleState extends State<MyExample> {
    int _selectedIndex = 0; //default index

    List<Widget> _widgetOptions = [
        Text('Home'),
        Text('Account'),
        Text('Leaves'),
        Text('Loyalty'),
        Text('Requests'),
    ];
    @override
    Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
            title: Text('Example'),
        ),
        body: Center(
            child: _widgetOptions.elementAt(_selectedIndex),
        ),
        bottomNavigationBar: CustomLineIndicatorBottomNavbar(
        selectedColor: Colors.white,
        unSelectedColor: Colors.black54,
        backgroundColor: Colors.white,
        currentIndex: _selectedIndex,
        onTap: (index) {
            setState(() {
            _selectedIndex = index;
            });
        },
        enableLineIndicator: true,
        lineIndicatorWidth: 3,
        indicatorType: IndicatorType.Top,
        gradient: LinearGradient(
            colors: [Colors.pink, Colors.yellow],
        ),
        customBottomBarItems: [
            CustomBottomBarItems(
                label: 'Home',
                icon: Icons.home,
            ),
            CustomBottomBarItems(
                label: 'Account',
                icon: Icons.account_box_outlined,
            ),
            CustomBottomBarItems(
                label: 'Leaves', icon: Icons.calendar_today_outlined),
            CustomBottomBarItems(
                label: 'Loyalty',
                icon: Icons.card_giftcard_rounded,
            ),
            CustomBottomBarItems(
                label: 'Requests',
                icon: Icons.list,
            ),
        ],
        ),
    );
    }
}

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.