StateLess Widgets


Stateless widget is does not have any shape so in future also without any changes we can use this.

First will see widget code in single file

the same above code i want use from child class like below


From here right click on lib and create new package and create new dart file and write below code on that


Out of both codes are same like below

You may also like...

Leave a Reply