In this video will discuss about how to switch to the master branch using the flutter channel and upgrade it to enable null safety in the flutter project. After upgrading will replace our SDK version this should enable null safety. Even after doing these steps if it didn't start, add analysis_options.yaml file in the root of the project (this is the optional step).
Gist Link: https://gist.github.com/Amitpatil215/...
Flutter Basics Playlist: • Flutter Tutorials in Hindi
Source Code:
https://github.com/Amitpatil215/Flutt...
Table Of Content:
0:00 - Intro
0:43 - Switch to master channel
1:54 - Change SDK version
3:16 - Add analysis options file
4:14 - Error lens VS Code extension
Reference Material:
Switching Flutter channels:
https://flutter.dev/docs/development/...
Null Safety Documentation: https://flutter.dev/docs/null-safety
Dart pad with null safety: https://nullsafety.dartpad.dev/
Read my articles on Medium: / amitpatil215
Connect with me on social media:
Linkedin: / amitgpatil215
Github: https://github.com/amitpatil215
Twitter: / amitpatil215