Answers for "difference between child and children in flutter"

1

children vs child dart

child takes a single widget

child: Text('foo')
children takes a list of widgets

children: <Widget>[Text('foo'), Text('bar')]
Posted by: Guest on February-28-2021

Code answers related to "difference between child and children in flutter"

Browse Popular Code Answers by Language