From 12d11ed0d84505c85a5cc36688ad44d010a2a196 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Mon, 30 Jun 2025 09:26:38 +0530 Subject: [PATCH] fixes 1 --- lib/Screens/group/groupDetails.dart | 62 +++++++++++++++++++++-- lib/Screens/plans/create_plans.dart | 2 +- lib/Screens/userManagement/user_List.dart | 2 +- 3 files changed, 59 insertions(+), 7 deletions(-) diff --git a/lib/Screens/group/groupDetails.dart b/lib/Screens/group/groupDetails.dart index d185fc6..215c08a 100644 --- a/lib/Screens/group/groupDetails.dart +++ b/lib/Screens/group/groupDetails.dart @@ -493,8 +493,35 @@ class GroupDataState extends State { items: DomesticMap.values.toList(), dropdownDecoratorProps: DropDownDecoratorProps( dropdownSearchDecoration: InputDecoration( - border: InputBorder.none, - contentPadding: EdgeInsets.symmetric(horizontal: 1), + // border: InputBorder.none, + border: OutlineInputBorder( + borderRadius: BorderRadius.circular(8), + borderSide: BorderSide( + color: + (focusStates["country_codeFocused"] ?? false) + ? widget.layoutColor! + : Colors.white, + // width: 0.5, + ), + ), + enabledBorder: OutlineInputBorder( + borderSide: BorderSide( + color: + (focusStates["country_codeFocused"] ?? false) + ? widget.layoutColor! + : Colors.white, + // : const Color(0xFFD6D5E6), + // width: 0.5, + // const Color(0xFFD6D5E6), + ), + ), + focusedBorder: OutlineInputBorder( + borderSide: BorderSide(color: widget.layoutColor!, width: 1), + ), + contentPadding: EdgeInsets.symmetric( + horizontal: 8, + ) + // contentPadding: EdgeInsets.symmetric(horizontal: 1), ), ), dropdownBuilder: @@ -607,9 +634,34 @@ class GroupDataState extends State { items: InternationalMap.values.toList(), dropdownDecoratorProps: DropDownDecoratorProps( dropdownSearchDecoration: InputDecoration( - border: InputBorder.none, - - contentPadding: EdgeInsets.symmetric(horizontal: 1), + // border: InputBorder.none, + border: OutlineInputBorder( + borderRadius: BorderRadius.circular(8), + borderSide: BorderSide( + color: + (focusStates["country_codeFocused"] ?? false) + ? widget.layoutColor! + : Colors.white, + // width: 0.5, + ), + ), + enabledBorder: OutlineInputBorder( + borderSide: BorderSide( + color: + (focusStates["country_codeFocused"] ?? false) + ? widget.layoutColor! + : Colors.white, + // : const Color(0xFFD6D5E6), + // width: 0.5, + // const Color(0xFFD6D5E6), + ), + ), + focusedBorder: OutlineInputBorder( + borderSide: BorderSide(color: widget.layoutColor!, width: 1), + ), + contentPadding: EdgeInsets.symmetric(horizontal: 10.0, + vertical: 8.0,), + // contentPadding: EdgeInsets.symmetric(horizontal: 1), ), ), dropdownBuilder: diff --git a/lib/Screens/plans/create_plans.dart b/lib/Screens/plans/create_plans.dart index 254389c..93770de 100644 --- a/lib/Screens/plans/create_plans.dart +++ b/lib/Screens/plans/create_plans.dart @@ -3721,7 +3721,7 @@ class CreateNewPlansState extends State { Widget _buildTripName(bool isDesktop) { return SizedBox( - width: isDesktop ? MediaQuery.of(context).size.width * 0.2 : 180, + width: isDesktop ? MediaQuery.of(context).size.width * 0.7443333 : 180, height: 35, child: TextField( // focusNode: _tripTitleFocusNode, diff --git a/lib/Screens/userManagement/user_List.dart b/lib/Screens/userManagement/user_List.dart index 455329c..ae69659 100644 --- a/lib/Screens/userManagement/user_List.dart +++ b/lib/Screens/userManagement/user_List.dart @@ -1295,7 +1295,7 @@ class _UserListScreenState extends State { final usersData = await apiService.getSingleUser(userId); context.go("/CreateUserDetails", extra: { "selectedUser": usersData, - "isViewMode": true, + "isViewMode": false, }); }, ),