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

dot_curved_bottom_nav 표지
패키지 상세v0.0.2

dot_curved_bottom_nav

인디케이터 네비게이션 바를 둘러싼 인상적인 애니메이션 곡선 모양. 색상, 배경색, 애니메이션 곡선, 애니메이션 지속 시간 조정 가능.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
169
좋아요
51
Pub 점수
150

패키지 설치

flutter pub add dot_curved_bottom_nav

패키지 개요

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

하단 탐색 바의 인디케이터 아래에 애니메이션된 곡선 모양을 만드는 시각적으로 인상적인 Flutter 패키지입니다. 곡선 색상, 배경 색상, 애니메이션 곡선 및 지속 시간을 사용자 정의할 수 있으며, 부드럽고 동적 전환으로 사용자 경험을 향상시킵니다. 현대적인 앱 인터페이스에서 완성도 있고 상호작용적인 하단 탐색 느낌을 원하는 경우에 이상적입니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux를 포함한 모든 주요 플랫폼을 지원합니다.

사용 사례

  • 애니메이션 시각 피드백을 통한 앱 탐색 향상
  • 곡선 하단 바를 사용하여 현대적인 UI 만들기
  • 동적 애니메이션을 사용한 탐색 인디케이터 맞춤 설정
  • 시각적 다듬기로 사용자 참여도 향상
  • 다중 플랫폼에서 반응형 하단 탐색 디자인하기

주요 기능

  • 네비게이션 인디케이터 아래의 애니메이션 곡선 모양
  • 사용자 정의 색상 및 배경 색상
  • 조정 가능한 애니메이션 곡선 및 지속 시간
  • 부드럽고 유연한 애니메이션
  • 크로스 플랫폼 호환성
  • pub add 명령을 통한 간편한 통합

적합한 대상

  • 고급 탐색 효과를 찾는 UI 디자이너
  • 현대의 모바일 및 웹 앱을 개발하는 개발자
  • 애니메이션 하단 탐색을 필요로 하는 앱
  • 시각적 완성도와 상호작용에 집중하는 팀
  • 하단 탐색 바를 사용하는 플러터 개발자

고려 사항

  • 저사양 기기에서 성능에 영향을 줄 수 있습니다
  • 애니메이션 설정을 신중하게 조정해야 합니다
  • 하단 네비게이션 바 사용 사례에 한정
  • 간단하거나 미니멀한 디자인에 적합하지 않습니다
  • 네비게이션 구조의 올바른 구현에 따라 달라짐

원본 README

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

Stunning Curved Bottom Navigation

Title Image

Preview

Preview

Optional Hide On Scroll

Preview

Getting Started

Add the dependency at pubspec.yaml:

dependencies:
  dot_curved_bottom_nav: ^0.0.1

Basic Usage

bottomNavigationBar: DotCurvedBottomNav(
    scrollController: _scrollController,
    hideOnScroll: true,
    indicatorColor: Colors.blue,
    backgroundColor: Colors.black,
    animationDuration: const Duration(milliseconds: 300),
    animationCurve: Curves.ease,
    selectedIndex: _currentPage,
    indicatorSize: 5,
    borderRadius: 25,
    height: 70,
    onTap: (index) {
    setState(() => _currentPage = index);
    },
    items: [
    Icon(
        Icons.home,
        color: _currentPage == 0 ? Colors.blue : Colors.white,
    ),
    Icon(
        Icons.notification_add,
        color: _currentPage == 1 ? Colors.blue : Colors.white,
    ),
    Icon(
        Icons.color_lens,
        color: _currentPage == 2 ? Colors.blue : Colors.white,
    ),
    Icon(
        Icons.person,
        color: _currentPage == 3 ? Colors.blue : Colors.white,
    ),
    ],
),

Properties

Property Description
scrollController Used to listen when the user scrolls and hides the bottom navigation
hideOnScroll Used to enable or disable hide on scroll behavior. (NOTE: scrollController must be provided when hideOnScroll is TRUE)
indicatorColor Color of the indicator displayed on currently selected item
backgroundColor Configures the background color of the bottom navigation
animationDuration Configures animation duration of hiding and indicator movement between items
animationCurve Configures curve of the animation of indicator movement and hide on scroll animation
selectedIndex Configures currently selected item / page
indicatorSize Configures the size of indicator displayed on top of the item
borderRadius Configures border radius of border DotCurvedBottomNav
height Configures height of DotCurvedBottomNav
onTap Configures callback function that is invoked whenever user taps on an item
items Configures list of items of bottom nav

TODO:

  1. Add More Indicator shapes e.g diamond shape with diamond cut out and more.

Contributions

Feel free to create an issue if you find a bug or if you need new features. Of course PRs are welcome!

If you want to connect with me on LinkedIn: Muzammil Hussain


If you like this work, please consider 👍 the package and ⭐ the repo. It is appreciated.

카테고리

소스 저장소

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

아직 데이터가 없습니다.