buildBodyList method Null safety

Expanded buildBodyList()

Implementation

Expanded buildBodyList() {
  return Expanded(
    child: widgets.isNotEmpty
        ? ListView(children: widgets)
        : StyleMyFile.emptyFolder
  );
}