Widgets in Flutter

108 views.

In this Tutorial will concentrate in Widgets. In flutter almost components are widgets. Here will concentrate now below widgets

  • Center
  • Text
  • Material App
  • Material
  • Scaffold
  • AppBar

In this above Tutorial we created one App but that is ugly with only one background color for same will apply some Material effects to make them attractive.

First here let us see some example code with center,text, Matirial App, Matiral widget then we can apply Scaffold and AppBar

output:

now we can add scaffold and app bar like below

Output:

 

You may also like...

Leave a Reply