Answers for "flutter child vs chilreen"

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

Browse Popular Code Answers by Language