mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
fixed theme
This commit is contained in:
@ -89,10 +89,13 @@ class _DialogTextfieldDropdownState extends State<DialogTextfieldDropdown> {
|
||||
itemBuilder: (context, index) {
|
||||
final item = _filteredItems[index];
|
||||
return ListTile(
|
||||
title: Text(
|
||||
item,
|
||||
style: const TextStyle(color: Colors.black),
|
||||
),
|
||||
title: Text(item,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium
|
||||
?.copyWith(
|
||||
color:
|
||||
ColorsManager.textPrimaryColor)),
|
||||
onTap: () {
|
||||
_controller.text = item;
|
||||
widget.onSelected(item);
|
||||
@ -139,7 +142,7 @@ class _DialogTextfieldDropdownState extends State<DialogTextfieldDropdown> {
|
||||
widget.onSelected(_controller.text);
|
||||
_closeDropdown();
|
||||
},
|
||||
style: const TextStyle(color: Colors.black),
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
decoration: const InputDecoration(
|
||||
hintText: 'Enter or Select a tag',
|
||||
border: InputBorder.none,
|
||||
|
Reference in New Issue
Block a user