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

inkblob_navigation_bar 표지
패키지 상세v0.1.2

inkblob_navigation_bar

부드럽고 동적 잉크 블롭 전환 효과를 갖춘 사용자 정의 네비게이션 바입니다.

30일 다운로드
16
좋아요
39
Pub 점수
70

패키지 설치

flutter pub add inkblob_navigation_bar

패키지 개요

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

부드럽고 동적인 잉크 블롭 전환 효과를 갖춘 사용자 정의 가능한 하단 네비게이션 바로, 유저 상호작용을 부드러운 시각적 피드백으로 향상시킵니다. Flutter 앱을 위한 것으로, 선택된 항목에 반짝이는 확장되는 잉크 같은 리플 효과로 전통적인 네비게이션 바의 우아한 대안을 제공합니다. 패키지는 가볍고 통합이 쉬우며, 미세한 애니메이션과 완성도 높은 마이크로 인터랙션을 중시하는 현대 UI에 적합합니다. 커스텀 색상, 크기 및 아이콘 스타일링을 지원하여 개발자가 앱의 디자인 언어와 완벽하게 일치시킬 수 있습니다.

사용 사례

  • 모바일 앱 탐색 UX 향상
  • 시각적으로 매력적인 하단 탭 만들기
  • 탭 선택에 애니메이션 피드백 추가
  • 레거시 탐색 막대 현대화
  • 동적 요소를 가진 미니멀리스트 인터페이스 디자인

주요 기능

  • 부드러운 잉크 블롭 전환 애니메이션
  • 사용자 정의 가능한 색상 및 크기
  • 기존 Flutter 앱과의 간편한 통합
  • 아이콘 및 레이블 사용자 정의를 지원합니다
  • 가볍고 성능이 뛰어남

적합한 대상

  • 현대적인 네비게이션 UI를 찾는 Flutter 개발자
  • 사용자 경험과 시각적 완성도에 중점을 둔 앱
  • 인터랙티브한 하단 탐색을 구현하는 디자이너
  • 미묘하지만 강력한 영향을 주는 애니메이션을 필요로 하는 프로젝트
  • 깔끔하고 현대적인 미학을 가진 모바일 앱

고려 사항

  • 모든 디자인 스타일이나 브랜딩에 적합하지 않을 수 있습니다
  • 저사양 장치에 대한 성능 영향
  • 제한된 플랫폼별 동작 사용자 정의
  • 접근성에 대한 주의 깊은 색 대비가 필요합니다
  • 매우 복잡한 탐색 구조에는 권장되지 않습니다

원본 README

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

Inkblob_navigation_bar

A custom navigation bar with smooth & dynamic ink blob transition effect.

Overview

This packages was inspired by this post from Dribbble

Implemented:

Gallery

Dynamic Movement
Customizable Curve
Custom Colors
Optional Titles
Works with any widgets

How to install

Simply add the package to your dependencies! No other steps required :)

Documentation

To use the InkblobNavigationBar you can simply use it in the bottomNavigationBar field of your material scaffold:

Scaffold(
  ...
  bottomNavigationBar: InkblobNavigationBar(
    ...
  )
)
You can customize these attributes in the navigation bar.
Attributes Type Description Default
showElevation bool Enable subtle shadow effect true
items List<InkblobBarItem> Item data for NavigationBar required
onItemSelected Function(int) Callback function when item tapped null
selectedIndex int Selected item index of navigation bar. required
previousIndex int Previously selected item index of navigation bar. selectedIndex
iconSize double Size of icons. 24.0
backgroundColor Color Background color of [CustomNavigationBar] Theme.bottomAppBarColor
containerHeight double Height of the NavigationBar 60
itemWidth double Total width of each item 2*containerHeight
curve Curve Animation curve of scale effect Curves.easInOutExpo
animationDuration Duration Duration of the total animation Duration(milliseconds: 270)

Attention: Both the selectedIndex and previousIndex are required for the animation to perform, an example of how to implement this is shown in the provided example app.

To customize the items in the navigation bar, just supply a list of InkblobBarItem like this.

InkblobNavigationBar(
  ...
  items: [
    // Simple Icon with a Title & Color
    InkblobBarItem(
      title: const Text('User'),
      filledIcon: const Icon(SpiriIcons.fi_sr_user),
      emptyIcon: const Icon(SpiriIcons.fi_rr_user),
      color: Colors.blue,
    ),
    // Custom Containers
    InkblobBarItem(
      filledIcon: Container(
        decoration: BoxDecoration(
          color: Colors.black,
          borderRadius: BorderRadius.circular(12),
        ),
      ),
      emptyIcon: Container(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(12),
          border: Border.all(color: Colors.black, width: 2),
        ),
      ),
    ),
    // Even Text Widgets
    InkblobBarItem(
      filledIcon: const Text('❤️', style: TextStyle(fontSize: 20)),
      emptyIcon: const Text('🖤', style: TextStyle(fontSize: 20)),
      color: Colors.red,
    ),
  ],
)

Example

Check the example app for a full implementation example.

Contribute

Issues and pull requests are always welcome!
If you found this project helpful, consider buying me a cup of :coffee:

카테고리

소스 저장소

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

아직 데이터가 없습니다.