highlight_nav_bar 1.0.0 copy "highlight_nav_bar: ^1.0.0" to clipboard
highlight_nav_bar: ^1.0.0 copied to clipboard

Spotlight bottom navigation bar for Flutter.

Spotlight Bottom Navigation Bar for Flutter #

Pub Version

Adds a spotlight theme to your bottom navigation bar

Installing: #

  1. Add the dependency in your pubspec.yaml file.
dependencies:  
 spotlight_nav_bar: <latest version>
  1. Import the spotlight_nav_bar package.
import 'package:spotlight_nav_bar/spotlight_nav_bar.dart';


Usage #

MaterialApp(
  title: 'SpotlightNavBar Example',
  theme: ThemeData.light(),
  darkTheme: ThemeData.dark(),
  themeMode: ThemeMode.system,
  home: SpotlightNavBar(
    items: [
      SpotlightItem(
        title: 'Home',
        screen: const Center(
          child: Text('Home'),
        ),
      ),
      SpotlightItem(
        title: 'Search',
        screen: const Center(
          child: Text('Search'),
        ),
        icon: Icons.search,
        spotlightColor: Colors.green,
      ),
      SpotlightItem(
        title: 'Profile',
        screen: const Center(
          child: Text('Profile'),
        ),
        icon: Icons.person,
        lampColor: Colors.red,
        spotlightColor: Colors.blue,
      ),
    ],
  ));

Examples #

black_white blue_yellow
2
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Spotlight bottom navigation bar for Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on highlight_nav_bar