Рет қаралды 32,404
Worksheet: github.com/happyharis/navigat...
Answer: github.com/happyharis/navigat...
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:
learnfluttercode.com/newsletter
📱 Pre Sign Up to Learn Flutter App :
learnfluttercode.com/app
Check out our website - learnfluttercode.com/
🔥 Check out our courses - zukunf.com/courses
🖼 Learn Flutter Code Instagram:
/ learn.flutter.code
Haris's LinkedIn - / muhammad-haris-bin-sam...
Haris's Twitter - / 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:
/ learning-flutters-new-...