hideWithAnimation method

Future<void> hideWithAnimation()

Implementation

Future<void> hideWithAnimation() async {
  // بدء أنيميشن الإخفاء
  // Start hide animation
  await controller.reverse();
  // تحديث حالة الظهور بعد انتهاء الأنيميشن
  // Update visibility state after animation completes
  isVisible.value = false;
  log('Slider hidden with animation', name: 'SliderController');
}