Giter Site home page Giter Site logo

anilthummar / flutter_navigation_2.0 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 269 KB

flutter_navigation_2.0

Kotlin 0.26% Swift 3.26% Objective-C 0.07% Dart 9.66% CMake 36.76% C++ 44.95% C 2.69% HTML 2.34%
dart flutter flutter-apps navigation navigator-api navigator2

flutter_navigation_2.0's Introduction

navigation_2o_web

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Differences Between Normal Navigation (Navigator 1.0) and Navigator 2.0

Navigator 1.0 (Imperative Navigation) Imperative Approach: You directly call methods like Navigator.push() and Navigator.pop() to manipulate the navigation stack. Simple API: Suitable for straightforward navigation use cases. Limited Control: Handling back button behavior, deep linking, and custom routing logic is more cumbersome. No Direct URL Handling: Not directly tied to the browser's URL bar in web applications, making deep linking and SEO more challenging.

Navigator 2.0 (Declarative Navigation) Declarative Approach: You define the navigation stack as a list of Page objects. The framework updates the UI based on the differences between the current and previous states. State Synchronization: The navigation stack is directly tied to the application state, enabling more complex and dynamic routing. Enhanced Control: Provides more control over back button handling, deep linking, and custom routing logic. URL Handling: Integrates well with web URL handling, making it easier to implement deep linking and respond to changes in the browser's URL bar.

flutter_navigation_2.0's People

Contributors

anilthummar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.