update carton list and editor

This commit is contained in:
tzw
2024-02-01 18:07:40 +06:30
parent eff1ae4688
commit 24f2dc110c
20 changed files with 1951 additions and 954 deletions

View File

@@ -37,12 +37,12 @@ class LocalDropdown<T> extends StatelessWidget {
children: [
Padding(
padding: const EdgeInsets.only(right: 18.0),
child: LocalText(
child: labelKey!=null? LocalText(
context,
labelKey!,
color: Colors.black54,
fontSize: 16,
),
): const SizedBox(),
),
DropdownButton<T>(
isDense: true,
@@ -68,7 +68,7 @@ class LocalDropdown<T> extends StatelessWidget {
? display!(value)
: value.toString(),
overflow: TextOverflow.ellipsis,
style: TextStyle(color: primaryColor)),
style: TextStyle(color: Colors.black)),
);
}).toList(),
),