Answers for "The argument type 'Wrap' can't be assigned to the parameter type 'List<Widget>"

1

The argument type 'Wrap' can't be assigned to the parameter type 'List<Widget>

// Here you are wrapping a list as list
children: <Widget>[getList()],
// This should rather be
children: getList(),
Posted by: Guest on September-04-2020

Code answers related to "The argument type 'Wrap' can't be assigned to the parameter type 'List<Widget>"

Code answers related to "Dart"

Browse Popular Code Answers by Language