FLUTTER ECOSYSTEM

d3xvn/expanding_bottom_bar

带有展开标题的 Flutter BottomNavigationBar

扩展底部栏 项目封面
Stars
40
Forks
4
最近推送(UTC)
2022年8月27日
项目状态
未归档
Deven Joshi GitHub avatar
GITHUB User

Deven Joshi ↗

Developer Relations Lead @GetStream 🥑 | Google Developer Expert, Flutter 💙

getstream.ioAmsterdam, The Netherlands
语言DartJava

技术话题

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

expanding_bottom_bar

A bottom navigation bar with expanding titles. Inspired by the Dribbble design here: https://t.co/BtUlszSmRR

Demo

https://github.com/deven98/expanding_bottom_bar/blob/master/demo.gif

Properties

List<ExpandingBottomBarItem> items;

The items to be displayed in the BottomNavBar.

Duration animationDuration;

The duration of the animation of the box flip.

ValueChanged<int> onIndexChanged;

Callback for getting value of item selection.

int selectedIndex;

The current selected index of the BottomNavigationBar

double navBarHeight;

The height of the BottomNavBar.

Color backgroundColor

The color of the background of the BottomNavigationBar.

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.