Hello,

This is the main.dart file which concentrates mainly on Text Widgets,

Steps to do : –

1)Create a new New Folder

2)Open the terminal in that folder

3)Type the command “flutter create text_widgets”

4)cd text_widgets

5)Delete all the contents in the main.dart file inside the lib folder

6)Then replace the contents of this main.dart over there

7)Dont forget to Save !!!

8)Type the command :flutter run

9)Then we get the following results :

image

image

GitHub

View Github