mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 15:09:41 +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(
|
child: TextFormField(
|
||||||
controller: _searchController,
|
controller: _searchController,
|
||||||
onChanged: _handleSearch,
|
onChanged: _handleSearch,
|
||||||
style: const TextStyle(fontSize: 14, color: Colors.black),
|
style: const TextStyle(
|
||||||
|
fontSize: 14, color: ColorsManager.blackColor),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: 'Search for space...',
|
hintText: 'Search for space...',
|
||||||
prefixIcon: const Icon(Icons.search, size: 20),
|
prefixIcon: const Icon(Icons.search, size: 20),
|
||||||
@ -124,7 +125,9 @@ class _DropdownMenuContentState extends State<DropdownMenuContent> {
|
|||||||
title: Text(
|
title: Text(
|
||||||
community.name,
|
community.name,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: isSelected ? Colors.blue : Colors.black,
|
color: isSelected
|
||||||
|
? ColorsManager.dropDownSelectBlue
|
||||||
|
: ColorsManager.blackColor,
|
||||||
fontWeight:
|
fontWeight:
|
||||||
isSelected ? FontWeight.bold : FontWeight.normal,
|
isSelected ? FontWeight.bold : FontWeight.normal,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user