title: Startup logic on splash screen loops forever
body: <p>I am using a splash screen to determine which route to send the user depending on their logged-in state.</p>
  <p>My service checks the user state on firebase like so:</p>
  <pre><code> Stream&lt;User?&gt; isUserLoggedIn() {
      var user = _firebaseAuth.authStateChanges();
  
      return user;
    }
  </code></pre>
  <p>My model calls the service and determines the user route based on the response:</p>
  <pre><code>  User? handleStartUpLogic() {
      print('Run only once and stop magically printing text!');
      _authenticationServices.isUserLoggedIn().listen((User? user) {
        if (user == null) {
          print('User is signed out!');
          goToSignIn();
        } else {
          print('User is signed in!');
          goToMarket();
        }
      });
    }
  </code></pre>
  <p>...and in my View I set on model ready:</p>
  <pre><code> return ViewModelBuilder&lt;SplashModel&gt;.reactive(
          onModelReady: (model) =&gt; model.handleStartUpLogic(),
          createNewModelOnInsert: false,
          builder: (context, model, child) =&gt; Scaffold(
                backgroundColor: fontColor,
                body: Center(child: Image.asset('assets/fable_Icon.png')),
              ),
  </code></pre>
  <p>When I run this code I get this unending looP:</p>
  <pre><code>I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 10 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 32 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/zygote  (12991): Do partial code cache collection, code=60KB, data=43KB
  I/zygote  (12991): After code cache collection, code=57KB, data=42KB
  I/zygote  (12991): Increasing code cache capacity to 256KB
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 156 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 15 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 54 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  I/chatty  (12991): uid=10080(u0_a80) 1.ui identical 21 lines
  I/flutter (12991): Run only once and stop magically printing text!
  I/flutter (12991): Run only once and stop magically printing text!
  </code></pre>
  <p>Will greatly appreciate the help</p>