convert List to List of widget
List<Widget> toWidgetList(Widget Function(T value) mapFunc) => isNullOrEmpty ? [] : [...this!.map(mapFunc)];