Hello welcome to another flutter tutorial,
This video will show you, what are extension methods and how to use them.
The Extension Methods help to extend a class that has already been compiled or I can say like
, if you want to extend a functionality of a library that is already included
in your app, and you want to add some more methods to the a library class
that makes it more convenient for you to use. One way to do it is make
helper functions like we normally do by writing some Utility classes.
So Remember the original class is in someone else's library, so we cannot just add out methods there...
So the solution is extension methods... we will see how to do this in a short while.
Visit http://coderzheaven.com for more tutorials.
Please don't forget to LIKE, SUBSCRIBE & SHARE.
Please leave your valuable comments in the comment section below.
Thanks for watching.
Article & Source Code:
http://www.coderzheaven.com/2020/01/0...
Follow me on facebook
/ mobile-tutor-299932940922778
More tutorials
http://coderzheaven.com
#fluttertutorials #flutterextensions #flutter