An Adaptive Navigation Bar in flutter. Navbar changes according to the screen size

Adaptive NavBar (adaptive_navbar)




Table of contents

General info

adaptive_navbar is a third party flutter package. This is adaptive navbar. This can be easily added to your flutter projects. This make your works simpler and your code shorter. This is recently updated and has null safety too.

Setup

These are the steps on how to use this package.

Run this command:

$ flutter pub add adaptive_navbar

This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  adaptive_navbar: ^0.0.1 #check for latest in versions at https://pub.dev/packages/adaptive_navbar/versions

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:adaptive_navbar/adaptive_navbar.dart';

Conclusion

This is not the last package from this developer. Maybe this solely can’t be updated frequently but still it is worth using this package. This helps to reduce your code lines.

Useful Resources

Meet the developer

Mouli Bheemaneti is the developer behind this adaptive_navbar package. I’m ambitious and driven towards developing new apps and packages.

Other packages by this developer

GitHub

View Github