fixed theme

This commit is contained in:
hannathkadher
2025-02-20 11:36:08 +04:00
parent eafb811d2e
commit 57c5f4752c

View File

@ -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,