update carton list and editor
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user