What is the difference between child: and children: property in Flutter?
I started studying flutter for 2 weeks from Flutter official documentation and I don't find it as easy as studying Android.
child
takes a single widget
child: Text('foo')
children
takes a list of widgets
children: <Widget>[Text('foo'), Text('bar')]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With