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;
          });
        },
      ),