difference between child and children dart code example
Example: children vs child dart
child takes a single widget
child: Text('foo')
children takes a list of widgets
children: <Widget>[Text('foo'), Text('bar')]
child takes a single widget
child: Text('foo')
children takes a list of widgets
children: <Widget>[Text('foo'), Text('bar')]