Search packages, repositories and app categories

Package detailsv0.2.2

navi

A simple and easy to learn declarative navigation framework for Flutter, based on Navigator 2.0 (Router).

AndroidiOSWebmacOSWindowsLinux
30-day downloads
55
Likes
16
Pub points
140

Install package

flutter pub add navi

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Navi is a declarative navigation framework for Flutter that simplifies routing using Navigator 2.0 (Router). Designed for ease of learning and intuitive syntax, it enables developers to define navigation flows in a clear, structured way. Navi handles route transitions, deep linking, and state management seamlessly, making it ideal for apps requiring complex navigation patterns. With support across all major platforms, it integrates smoothly into existing Flutter projects.

Use cases

  • Declarative route definitions
  • Complex navigation flows
  • Deep linking support
  • Cross-platform routing
  • Stateful navigation
  • Easy migration from Navigator 1.0

Key features

  • Declarative syntax
  • Navigator 2.0 based
  • Built-in deep linking
  • Platform-agnostic
  • Simple API
  • Automatic route handling

Suitable for

  • Beginner to intermediate Flutter developers
  • Apps with intricate navigation
  • Projects needing consistent routing
  • Teams prioritizing maintainable code
  • Developers seeking minimal boilerplate

Considerations

  • Requires understanding of Navigator 2.0
  • May need additional setup for advanced use cases
  • Limited community adoption compared to alternatives
  • Not suitable for very simple apps with few routes

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Navi

A simple and easy to learn declarative navigation framework for Flutter, based on Navigator 2.0 (Router).


If you love Flutter, you would love declarative UI and therefore declarative navigation.

Navigator 2.0 provides a declarative navigation API. Unfortunately, it's too complex and difficult to use with a lot of boilerplate. Not only that, it requires to keep a single state to manage the whole navigation system of your application. It's not a good architecture, and definitely does not fit in large scale applications.

Navi helps you keep all the powerful of Navigator 2.0 but with a simple and easy to learn API. It helps you manage your navigation system in split and isolated domains.

Note that, imperative navigation API is also supported as an extra layer beyond the declarative API.

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

No data available yet.