Skip to content

RahilBadshah/flutter_navigation_bar_curved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_navigation_bar_curved

Flutter curved bottom navigation bar with great animation by using external package.

Android Screenshots

Gif Screenshot
drawing drawing

Add dependency

dependencies:
  curved_navigation_bar: ^0.2.11 #latest version

How to use

Scaffold(
  bottomNavigationBar: CurvedNavigationBar(
    backgroundColor: Colors.greenAccent,
    items: <Widget>[
      Icon(Icons.add_location, size: 30),
      Icon(Icons.alarm, size: 30),
      Icon(Icons.dashboard, size: 30),
      Icon(Icons.supervised_user_circle, size: 30),
      Icon(Icons.cloud_upload, size: 30),
    ],
    onTap: (index) {
      //Handle button tap
    },
  ),
  body: Container(color: Colors.greenAccent),
)