FLUTTER ECOSYSTEM

AbdallahAwd/sweet_nav_bar

이 패키지는 몇 줄의 코드로 그라디언트 및 플로팅 네비게이션 바를 구축하는 데 사용됩니다.

sweet_nav_bar 프로젝트 이미지
Stars
3
Forks
1
최근 푸시(UTC)
2024. 3. 9.
프로젝트 상태
활성
Abdallah Awad GitHub avatar
GITHUB User

Abdallah Awad ↗

I'm Abdullah, from Egypt, a Software Engineer full-stack mobile developer (Dart / Go)

언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

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

원본 README

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

README 펼치기 / 접기
pub package This package is to build gradiant and floating Navigation Bar with a few lines of code.

Features

  • easy to use
  • gradiant icon easily
  • some beautiful animation

Getting started

To use this package, add sweet_nav_bar as a dependency in your pubspec.yaml file.


https://raw.githubusercontent.com/AbdallahAwd/sweet_nav_bar/HEAD/sweet_nav.gif

Usage

Here is How to use it, You can find Package API

bottomNavigationBar: SweetNavBar(
        paddingGradientColor: iconLinearGradiant,
        currentIndex: cIndex,
        paddingBackgroundColor: Colors.red,
        items: [
          SweetNavBarItem(
              sweetActive: const Icon(Icons.home),
              sweetIcon: const Icon(
                Icons.home_outlined,
              ),
              sweetLabel: 'Home',
              iconColors: iconLinearGradiant,
              sweetBackground: Colors.red),
          SweetNavBarItem(
              sweetIcon: const Icon(Icons.business), sweetLabel: 'Business'),
          SweetNavBarItem(
              sweetIcon: const Icon(Icons.school), sweetLabel: 'School'),
        ],
        onTap: (index) {
          setState(() {
            cIndex = index;
          });
        },
      ),