Answers for "what is difference between child and children 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 "what is difference between child and children flutter"

Browse Popular Code Answers by Language