majesty 0.0.3 copy "majesty: ^0.0.3" to clipboard
majesty: ^0.0.3 copied to clipboard

A new Flutter package project.

Majesty #

A Flutter package for customizing bottom navigation bar.

Bottom navigation bars: #

MajestySubtleBottomNavBar
MajestySwipeNavigationBar

Show some ❤️ and star the repo to support the project. Also , you are more than welcome to contribute!

MajestySubtleBottomNavBar #

Demo : #

ezgif com-video-to-gif (6)

Example : #

     Scaffold(
        bottomNavigationBar: _bottomNavBar(),
      ),

    MajestySubtleBottomNavBar _bottomNavBar() {
    return MajestySubtleBottomNavBar(
      backgroundColor: Color(0xff090708),
      animationCurve: Curves.bounceOut,
      selectorColor: Colors.redAccent,
      captions: ['Home', 'Search', 'Bookmarks'],
      selectedItemColor: Colors.white,
      nonSelectedIconColor: Color(0xff616064),
      captionsTextStyles: TextStyle(color: Colors.white),
      items: <Widget>[
        Icon(Icons.home, size: 24),
        Icon(Icons.search),
        Icon(Icons.bookmark)
      ],
      onItemPressed: (i) => print(i),
        );
       }
     

MajestySwipeNavigationBar #

MajestySwipeNavigationBar consists of two main parts :

MajestySwipeScaffold Used as a wrapper to the Scaffold widget
MajestySubtleBottomNavBar Used for bottom navigation bar of scaffold

Demo : #

ezgif com-video-to-gif (7)

Example : #

    MaterialApp(
      home: MajestySwipeScaffold(
        child: Scaffold(
          backgroundColor: Colors.black12,
          bottomNavigationBar: MajestySubtleBottomNavBar(
              captions: ['Home', 'Search', 'Profile'],
              backgroundColor: Colors.white,
              animationDuration: Duration(milliseconds: 200),
              selectorColor: Colors.red,
              captionsTextStyles:
                  TextStyle(color: Colors.black, fontWeight: FontWeight.w600),
              items: <Widget>[
                Icon(Icons.home),
                Icon(Icons.search),
                Icon(Icons.supervised_user_circle)
              ],
              onItemPressed: (int i) => print(i),
        ),
      ),
0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on majesty