From a64a9f1d12ecc713ca07976c0b618c9504dc0233 Mon Sep 17 00:00:00 2001 From: Rafeek-Khoudare Date: Tue, 22 Jul 2025 10:12:02 +0300 Subject: [PATCH] fix unactive color --- .../widgets/points_part_widget.dart | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/points_part_widget.dart b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/points_part_widget.dart index a716628e..0dcad1f2 100644 --- a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/points_part_widget.dart +++ b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/points_part_widget.dart @@ -61,16 +61,19 @@ class _PointsPartWidgetState extends State { Transform.scale( scale: 0.7, child: Switch( + materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, trackOutlineColor: WidgetStateProperty.resolveWith( - (Set states) { - return ColorsManager.whiteColors; - }), + (Set states) { + return ColorsManager.whiteColors; + }, + ), activeTrackColor: ColorsManager.dialogBlueTitle, - inactiveTrackColor: ColorsManager.grayBorder, + inactiveTrackColor: ColorsManager.lightGrayBorderColor, thumbColor: WidgetStateProperty.resolveWith( - (Set states) { - return ColorsManager.whiteColors; - }), + (Set states) { + return ColorsManager.whiteColors; + }, + ), value: state is ActivatePointsSwitch, onChanged: (value) { final bloc = context.read();