onReady method
override
Loads when app Launch from main.dart This method initializes the Firebase user stream and sets the initial screen based on the user's authentication status.
Implementation
@override
void onReady() {
_firebaseUser = Rx<User?>(_auth.currentUser);
_firebaseUser.bindStream(_auth.userChanges());
FlutterNativeSplash.remove();
setInitialScreen(_firebaseUser.value);
// ever(_firebaseUser, _setInitialScreen);
}