A flutter bottom tab with indicator, similar to the bottom tab of facebook app

bottom_indicator_bar_fork Gif

Getting Started

Add the dependency in pubspec.yaml:

  bottom_indicator_bar_fork: lastest_version

Basic Usage

class HomePage extends StatefulWidget {
  State createState() => _HomePageState();

class _HomePageState extends State<HomePage> {
  final List<BottomIndicatorNavigationBarItem> items = [
    BottomIndicatorNavigationBarItem(icon: Icons.home),
    BottomIndicatorNavigationBarItem(icon: Icons.settings),

  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Indicator Bottom Bar"),
        backgroundColor: Colors.teal,
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: <Widget>[
      bottomNavigationBar: BottomIndicatorBar(
        onTap: (index) => {},
        items: items,
        activeColor: Colors.teal,
        inactiveColor: Colors.grey,
        indicatorColor: Colors.teal,