From fa1cbf866b4d4a20269be7b9e59270b8c74b4236 Mon Sep 17 00:00:00 2001 From: FaizHashmi Date: Wed, 14 Oct 2026 17:42:53 +0300 Subject: [PATCH] changhes --- lib/ui/landing/dashboard_screen_for_dependet.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ui/landing/dashboard_screen_for_dependet.dart b/lib/ui/landing/dashboard_screen_for_dependet.dart index b61c799b..63ba717e 100644 --- a/lib/ui/landing/dashboard_screen_for_dependet.dart +++ b/lib/ui/landing/dashboard_screen_for_dependet.dart @@ -523,11 +523,11 @@ class _DashboardScreenForDependetState extends State valueListenable: _searchController, builder: (BuildContext context, TextEditingValue value, Widget? child) { if (value.text.isEmpty) return const SizedBox.shrink(); - return IconButton( - icon: const Icon(Icons.clear, size: 18, color: Color(0xFFACAFB1)), - padding: EdgeInsets.zero, - constraints: const BoxConstraints(), - onPressed: () { + return InkWell( + child: const Icon(Icons.clear, size: 18, color: Color(0xFF848486)), + // padding: EdgeInsets.zero, + // constraints: const BoxConstraints(), + onTap: () { _searchController.clear(); _onSearchChanged(""); }, @@ -537,7 +537,7 @@ class _DashboardScreenForDependetState extends State // max, not min - this search bar's outer Container is a fixed height (70), so the // icon must never be forced taller than the TextField's own natural height or it // overflows the available space. - suffixIconConstraints: const BoxConstraints(maxWidth: 24, maxHeight: 24), + suffixIconConstraints: const BoxConstraints(maxWidth: 24, maxHeight: 28), ), style: const TextStyle(color: Color(0xFF2A333C), fontSize: 14, fontWeight: FontWeight.w400), ),