floating_navbar 1.0.0
floating_navbar: ^1.0.0

Flutter Android iOS web

A new Flutter package project.

floating_navbar #

This package allows developers to add a simpler custom navigation bar that floats at the bottom to their flutter applications.

Developed by Ngonidzashe Mangudya

Usage #

Add dependency #

  floating_navbar: ^1.0.0

Import package #

  import 'package:floating_navbar/floating_navbar.dart';

Use in code as follows #

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: FloatingNavBar(
        color: Colors.purple,
        pages: <Widget>[HomePage(), MyPage()],
        icons: [
          Icon(
            Icons.home,
            color: Colors.white,
          ),
          Icon(
            Icons.account_circle,
            color: Colors.white,
          )
        ],
      ),
    );
  }
}

Screenshot #

Page1

IAMNGONI

Page 2

IAMNGONI

14
likes
90
pub points
47%
popularity

A new Flutter package project.

Homepage

Documentation

API reference

Uploader

el.nick.ngonie@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on floating_navbar