搜尋分類、套件與程式碼儲存庫

cool_nav 封面
套件詳情v0.1.1

cool_nav

一組真正棒且容易使用的底端導覽列。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
88
喜歡數
54
Pub 分數
150

安裝套件

flutter pub add cool_nav

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Cool Nav 是一個 Flutter 套件,提供一系列視覺上吸引人且容易實現的底端導航列。此套件設計時著重於簡潔與美學,提供可自訂、帶動畫效果且具響應式的導航元件,適用於跨多個平台的現代應用程式。該套件可無縫整合至 Flutter 專案中,並支援 Android、iOS、Web、macOS、Windows 與 Linux。透過最少的設定與豐富的設計選項,Cool Nav 在不犧牲效能或開發者便利性的前提下,提升使用者體驗。

適用情境

  • 行動應用程式導航
  • Web 應用程式儀表板
  • 跨平台桌面應用
  • 可自訂的底部標籤
  • 增強的使用者介面,帶有動畫
  • 簡單整合到現有專案中

主要特色

  • 預設的精美導航樣式
  • 透過參數輕鬆自訂
  • 流暢的動畫和過渡
  • 多平台支援
  • 輕量且高效
  • 最小化樣板程式碼

適合對象

  • Flutter 開發者尋求快速的 UI 增強
  • 需要一致底部導航的項目
  • 注重設計的應用程式
  • 初學者學習Flutter導航
  • 針對多個平台的應用

使用建議

  • 僅限底部導航
  • 可能需要額外的樣式來實現複雜佈局
  • 依賴外部相依性進行動畫
  • 不適合非底部導航模式
  • 最適合簡單到中等複雜度的導航需求

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

cool_nav

Pub Version (including pre-releases) Github Action Status

A collection of really awesome, easy to use BottomNavigationBars

Getting Started

Add this to your package's pubspec.yaml file:

---
dependencies:
  cool_nav: ^0.1.1

Now in your Dart code, you can use:

import 'package:cool_nav/cool_nav.dart';

List of Bottom Navigation Bars:

Spotlight Bottom Navigation Bar

Spotlight Bottom Navigation Bar

Based on design made by Sanchita Agarwal.

An easy to use and customizable Bottom Navigation Bar. You can customize the colors as well provide a custom Gradient for the spotlight.

Usage

Scaffold(
    // ...
    bottomNavigationBar: SpotlightBottomNavigationBar(
        items: [
          SpotlightBottomNavigationBarItem(icon: Icons.smartphone),
          SpotlightBottomNavigationBarItem(icon: Icons.laptop_mac),
          SpotlightBottomNavigationBarItem(icon: Icons.desktop_mac),
        ],
        currentIndex: currentIndex,
        selectedItemColor: Colors.cyan,
        onTap: _onTap,
    ),
)
Flip Box Bottom Navigation Bar

Flip Box Bottom Navigation Bar

Based on design made by dannniel.

An easy to use and customizable Bottom Navigation Bar. You can customize the selected and unselected Icons and background Colors for the tiles.

Usage

Scaffold(
    // ...
    bottomNavigationBar: FlipBoxNavigationBar(
          currentIndex: currentIndex,
          verticalPadding: 20.0,
          items: <FlipBoxNavigationBarItem>[
            FlipBoxNavigationBarItem(
              name: 'Tasks',
              selectedIcon: Icons.done_all,
              selectedBackgroundColor: Colors.deepPurpleAccent[200],
              unselectedBackgroundColor: Colors.deepPurpleAccent[100],
            ),
            FlipBoxNavigationBarItem(
              name: 'People',
              selectedIcon: Icons.person,
              unselectedIcon: Icons.person_outline,
              selectedBackgroundColor: Colors.indigoAccent[200],
              unselectedBackgroundColor: Colors.indigoAccent[100],
            ),
            FlipBoxNavigationBarItem(
              name: 'Mail',
              selectedIcon: Icons.mail,
              unselectedIcon: Icons.mail_outline,
              selectedBackgroundColor: Colors.blueAccent[200],
              unselectedBackgroundColor: Colors.blueAccent[100],
            ),
          ]
    ),
)

Refer here for an example.

More Awesome Navigation Bars will be added in the future.

Examples

View the example folder to see more examples.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。