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) {
|
itemBuilder: (context, index) {
|
||||||
final item = _filteredItems[index];
|
final item = _filteredItems[index];
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(
|
title: Text(item,
|
||||||
item,
|
style: Theme.of(context)
|
||||||
style: const TextStyle(color: Colors.black),
|
.textTheme
|
||||||
),
|
.bodyMedium
|
||||||
|
?.copyWith(
|
||||||
|
color:
|
||||||
|
ColorsManager.textPrimaryColor)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
_controller.text = item;
|
_controller.text = item;
|
||||||
widget.onSelected(item);
|
widget.onSelected(item);
|
||||||
@ -139,7 +142,7 @@ class _DialogTextfieldDropdownState extends State<DialogTextfieldDropdown> {
|
|||||||
widget.onSelected(_controller.text);
|
widget.onSelected(_controller.text);
|
||||||
_closeDropdown();
|
_closeDropdown();
|
||||||
},
|
},
|
||||||
style: const TextStyle(color: Colors.black),
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
hintText: 'Enter or Select a tag',
|
hintText: 'Enter or Select a tag',
|
||||||
border: InputBorder.none,
|
border: InputBorder.none,
|
||||||
|
Reference in New Issue
Block a user