The element type 'Set<Widget>' can't be assigned to the list type 'Widget'.dartlist_element_type_not_assignable code example
Example: The argument type 'Wrap' can't be assigned to the parameter type 'List
// Here you are wrapping a list as list
children: <Widget>[getList()],
// This should rather be
children: getList(),