From 2149fd6bc51519a166b9c806039e0b4b5426d4b4 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Wed, 12 Nov 2025 15:36:10 +0530 Subject: [PATCH] added service projet screen --- lib/helpers/services/api_endpoints.dart | 2 +- lib/view/service_project/service_project_screen.dart | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/helpers/services/api_endpoints.dart b/lib/helpers/services/api_endpoints.dart index 44a7474..91300af 100644 --- a/lib/helpers/services/api_endpoints.dart +++ b/lib/helpers/services/api_endpoints.dart @@ -1,5 +1,5 @@ class ApiEndpoints { - static const String baseUrl = "https://stageapi.marcoaiot.com/api"; + // static const String baseUrl = "https://stageapi.marcoaiot.com/api"; // static const String baseUrl = "https://api.marcoaiot.com/api"; //static const String baseUrl = "https://devapi.marcoaiot.com/api"; diff --git a/lib/view/service_project/service_project_screen.dart b/lib/view/service_project/service_project_screen.dart index 8831369..505c914 100644 --- a/lib/view/service_project/service_project_screen.dart +++ b/lib/view/service_project/service_project_screen.dart @@ -273,9 +273,8 @@ class _ServiceProjectScreenState extends State suffixIcon: ValueListenableBuilder( valueListenable: searchController, builder: (context, value, _) { - if (value.text.isEmpty) { + if (value.text.isEmpty) return const SizedBox.shrink(); - } return IconButton( icon: const Icon(Icons.clear, size: 20, color: Colors.grey),