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

retracted

A flutter ui package for cool navigation bar with a lot of customization options

Category Navigator #

A flutter ui package for cool navigation bar with a lot of customization options

drawing

Features #

  • navigation bar customization like color, elevation, shape, border radius, axis, etc
  • unselected and highlighted item customization like background color, text color, shape, shadow, elevation, etc
  • animate to default active item

Getting started #

To start using this package, add src dependency to your pubspec.yaml

dependencies:
  src: '<latest_release>'

Usage #

final List<String> itemsList = const ['All', 'Android', 'ML', 'Python', 'Flutter', 'Text', 'iOS', 'Web', 'Windows'];

@override
Widget build(BuildContext context) {
return Scaffold(
    body: SafeArea(
        child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: CategoryNavigator(
              items: itemsList,
              navigatorController: NavigatorController(),
              scrollController: ScrollController(),
            )
        )
    ));
}

To get the navigator's current position at any time, initialize an object using NavigatorController(), pass the controller object to navigatorController parameter of the constructor and then use _navigatorController.activeItemIndex to get the selected item's index

Bugs or Requests #

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull request are also welcome.

License #

category_navigator is licensed under MIT license. View license.

16
likes
0
pub points
64%
popularity

Publisher

verified publisheranonymousaliens.app

A flutter ui package for cool navigation bar with a lot of customization options

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on category_navigator