Irum Feroz

Generation

code to explanationFri, 07 Apr 2023

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.

Questions about programming?Chat with your personal AI assistant