I have a purchase flow where the user pays externally via Mercado Pago (opened with Launch URL), lands on a "PaymentSuccess" page, and on tapping "Accept" the app clears some App State values and navigates to Home (Logged In Page) using Navigate To with Replace Route.
The error:
Unexpected null value.
The relevant error-causing widget was: HomeWidget
Stack trace:
...
nullCheck
package:[my_app]/auth/firebase_auth/firebase_auth_manager.dart ... build
package:flutter/src/widgets/unique_widget.dart.js ... build/performRebuild/rebuild/update/updateChild
...