content: import 'package:flutter/material.dart';
  import 'package:get/get.dart';
  import 'package:t_store/features/authentication/controllers/onboarding_controller.dart';
  import 'package:t_store/features/authentication/screens/onboarding/widgets/onboarding_dot_navigation.dart';
  import 'package:t_store/features/authentication/screens/onboarding/widgets/onboarding_next_button.dart';
  import 'package:t_store/features/authentication/screens/onboarding/widgets/onboarding_page.dart';
  import 'package:t_store/features/authentication/screens/onboarding/widgets/onboarding_skip.dart';
  import 'package:t_store/utils/constraints/image_strings.dart';
  import 'package:t_store/utils/constraints/text_strings.dart';
  
  class OnBoardingScreen extends StatelessWidget {
    const OnBoardingScreen({super.key});
  
    @override
    Widget build(BuildContext context) {
      final controller = Get.put(OnBoardingController());
      return Scaffold(
        body: Stack(
          children: [
            ///horizontal scrollable pages
            PageView(
              controller: controller.pageController,
              onPageChanged: controller.updatePageIndicator,
              children: const [
                OnBoardingPage(
                    image: TImages.onBoardingImage1,
                    title: TTexts.onBoardingTitle1,
                    subTitle: TTexts.onBoardingSubTitle1),
                OnBoardingPage(
                    image: TImages.onBoardingImage2,
                    title: TTexts.onBoardingTitle2,
                    subTitle: TTexts.onBoardingSubTitle2),
                OnBoardingPage(
                    image: TImages.onBoardingImage3,
                    title: TTexts.onBoardingTitle3,
                    subTitle: TTexts.onBoardingSubTitle3),
              ],
            ),
  
            ///skip button
            const OnBoardingSkip(),
  
            ///dot navigation smooth page indicator
            const OnBoardingNavigation(),
  
            ///circular button
            const OnBoardingNextButton(),
          ],
        ),
      );
    }
  }
  
  
  