Files
recipe-app/flutter/lib/core/utils/display_labels.dart
T
Nils-Johan Gynther 3e0af925d5
Test Suite / test (24.15.0) (push) Has been cancelled
feat: Refactor inventory screens with category selection and product handling improvements
2026-05-11 21:09:40 +02:00

10 lines
341 B
Dart

String? normalizedOptionalText(String? value) {
final normalized = value?.trim();
if (normalized == null || normalized.isEmpty) return null;
return normalized;
}
String l1CategoryChipLabel(String prefix, String l1Category) => '$prefix$l1Category';
String locationLabel(String prefix, String location) => '$prefix$location';