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();