mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-24 22:42:28 +00:00
no need for colors instead use ColorsManager
This commit is contained in:
@ -76,7 +76,8 @@ class _DropdownMenuContentState extends State<DropdownMenuContent> {
|
||||
child: TextFormField(
|
||||
controller: _searchController,
|
||||
onChanged: _handleSearch,
|
||||
style: const TextStyle(fontSize: 14, color: Colors.black),
|
||||
style: const TextStyle(
|
||||
fontSize: 14, color: ColorsManager.blackColor),
|
||||
decoration: InputDecoration(
|
||||
hintText: 'Search for space...',
|
||||
prefixIcon: const Icon(Icons.search, size: 20),
|
||||
@ -124,7 +125,9 @@ class _DropdownMenuContentState extends State<DropdownMenuContent> {
|
||||
title: Text(
|
||||
community.name,
|
||||
style: TextStyle(
|
||||
color: isSelected ? Colors.blue : Colors.black,
|
||||
color: isSelected
|
||||
? ColorsManager.dropDownSelectBlue
|
||||
: ColorsManager.blackColor,
|
||||
fontWeight:
|
||||
isSelected ? FontWeight.bold : FontWeight.normal,
|
||||
),
|
||||
|
Reference in New Issue
Block a user