mirrored_repositories/DhiBasket/lib/presentation/splash_screen
import '/core/app_export.dart';
import 'package:grocery_app/presentation/splash_screen/models/splash_model.dart';

class SplashController extends GetxController {
  Rx<SplashModel> splashModelObj = SplashModel().obs;

  @override
  void onReady() {
    super.onReady();
    Future.delayed(const Duration(milliseconds: 3000), () {
      Get.offNamed(AppRoutes.loginWithEmailIdScreen);
    });
  }

  @override
  void onClose() {
    super.onClose();
  }
}
