Back to Browse

How to use Flutter Navigator 2.0? | Warning: it's complicated

32.8K views
Premiered Oct 13, 2020
17:35

Worksheet: https://github.com/happyharis/navigator_v2_sample_app Answer: https://github.com/happyharis/navigator_v2_sample_app/tree/navigator_v2_easy The new Navigator 2.0 is a little confusing, with the new Navigator and Pages widgets. Is the new navigator an imperative or declarative programming? What is imperative or declarative? Therefore, this video will these questions and show you how to refactor your Flutter project from a default navigator, to the new one. Should you use the new navigator? That maybe a next video. Is the default navigator declarative or imperative or both? I think is imperative. I'm open for any suggestions. 👉 Subscribe to our weekly Flutter newsletter: https://learnfluttercode.com/newsletter 📱 Pre Sign Up to Learn Flutter App : https://learnfluttercode.com/app Check out our website - https://learnfluttercode.com/ 🔥 Check out our courses - https://zukunf.com/courses 🖼 Learn Flutter Code Instagram: https://www.instagram.com/learn.flutter.code/ Haris's LinkedIn - https://www.linkedin.com/in/muhammad-haris-bin-samingan-7889b9140/ Haris's Twitter - https://twitter.com/TheHappyHaris ⏰ Timeline: 00:00 - Introduction 00:42 - Difference between Navigator 2.0 vs Navigator 01:21 - Imperative Programming 05:03 - Declarative Programming 05:50 - Convert default navigation to the navigator 2.0 07:40 - onPopPage params 11:42 - What is ValueChanged function? 13:51 - Create page for book 16:11 - Declarative also has some imperative 16:48 - Summary 🎨 Source: https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade

Download

0 formats

No download links available.

How to use Flutter Navigator 2.0? | Warning: it's complicated | NatokHD