const Greetings( child: Padding( padding: EdgeInsets.all(14.0), child: Text('Hello JavaTpoint!'), ), )
Greetings is the class and its object is assign to the variable name and it has a child widget which is a padding widget and it has a child widget as a Text widget.