Answers for "child vs 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 "child vs children in flutter"

Browse Popular Code Answers by Language