spotlightnavbar 0.0.5 copy "spotlightnavbar: ^0.0.5" to clipboard
spotlightnavbar: ^0.0.5 copied to clipboard

A Flutter package for utilizing bottom navigation bar.

Spotlight Navigation Bar #

A responsive customized bottom navigation bar written in flutter and dart.

Credits to Sanchita Agrawal for inspiration! #

Show some ❤️ and star the repo to support the project. #

Demo : #

ezgif com-video-to-gif (1)

Usage #

Example

To use this package :

  • add the dependency to your pubspec.yaml
    dependencies:
        flutter:
          sdk: flutter
        spotlightnavbar:

How to use : #

Widget build(BuildContext context) {
    return MaterialApp(
       
      home: Scaffold(
        bottomNavigationBar: SpotLightNavBar(
          animationDuration: Duration(seconds: 1),
          onItemPressed: (i) {
            setState(() => index = i);
          },
          selectedItemColor: Colors.white,
          bottomNavBarColor: Color(0xff3B3B3B),
          nonSelectedItemColor: Colors.white30,
          items: [
            Icon(
              Icons.grain,
            ),
            Icon(
              Icons.search,
            ),
            Icon(
              Icons.flag,
              size: 20,
            ),
          ],
        ),
    );
13
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A Flutter package for utilizing bottom navigation bar.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on spotlightnavbar