itemBuilder method
Implementation
Widget itemBuilder(BuildContext context, int index) {
if (isFirst && list.isEmpty) {
return loadingView();
} else {
if (list.isEmpty) {
return noDataView();
} else {
return itemBuild(context, index);
}
}
}