the element type ‘List’ can’t be assigned to the list type ‘Widget’ March 2, 2023 by Tarik Here you are wrapping a list as list children: <Widget>[getList()], This should rather be children: getList(),