simplified code across the app and consolidated duplicated helpers

This commit is contained in:
2026-09-27 17:29:54 +02:00
parent 3e856d0b1c
commit ee1240f71a
155 changed files with 1772 additions and 2546 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ class ListViewUtil {
static ListView fromList<T>(List<T>? items, Widget Function(T item) map) =>
ListView.builder(
itemCount: items?.length ?? 0,
itemBuilder: (context, index) =>
items != null ? map(items[index]) : null,
itemBuilder: (context, index) => map(items![index]),
);
}