Final and Const Keyword in Dart | Hindi | #1.8

Опубликовано: 01 Январь 1970
на канале: Amit Patil
487
19

In this video we will learn about the final and const keyword used for defining const variables in dart. We will also take a look at where exactly these keywords are used and the main difference between these two keywords with some real world examples like gravity value misplaced in NASA and pi value got changed while buying a Ring for your loved one.

Source Code: https://github.com/Amitpatil215/Flutt...

Reference Material:
Official final and const documentation: https://dart.dev/guides/language/lang...

Dart Basics Playlist:
   • Dart Tutorial in Hindi | Dart Basics  
Flutter Basics Playlist:    • Flutter Tutorials in Hindi  


Table Of Content:

00:00 Intro
00:35 Var Keyword
01:17 Const Variable
02:23 final Variable
02:52 final vs const
05:11 Where, When and How?
05:36 Outro

Read my articles on Medium:   / amitpatil215  

Connect with me on social media:

LinkedIn:   / amitgpatil215  
GitHub: https://github.com/amitpatil215
Twitter:   / amitpatil215