From 3d76ae694905f5fe4ee3c100617e3ca1cfc18479 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Tue, 28 Dec 2021 14:48:57 +0200 Subject: [PATCH] fix search --- .../shared/text_fields/app_text_field_custom_serach.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/shared/text_fields/app_text_field_custom_serach.dart b/lib/widgets/shared/text_fields/app_text_field_custom_serach.dart index a32588db..24ae8ea5 100644 --- a/lib/widgets/shared/text_fields/app_text_field_custom_serach.dart +++ b/lib/widgets/shared/text_fields/app_text_field_custom_serach.dart @@ -55,7 +55,7 @@ class AppTextFieldCustomSearch extends StatelessWidget { onPressed: () {}, ), controller: searchController, - onChanged: (value)=>onChangeFun, + onChanged: (value){onChangeFun!(value);}, onFieldSubmitted: ()=>onFieldSubmitted, validationError: validationError), if (positionedChild != null)