You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am doing the tutorial. I am new to flutter and aws. The tutorial is great and helps me to get into it better.
However I am stuck in tutorial two module 3.
Everything works good so far. But when opening add_activity_page.dart it is loading the activity for a few ms and then switching to CircularProgressIndicator().
It seems that the asyncvalue loses its object when the widget is build again:
Since the tripValue comes from tripProviderfinal tripValue = ref.read(tripProvider(tripId)); in trips_repository.dart as a ProviderStream and the get stream 'return tripsRepository.get(id);' comes from trips_datastore_service.dart and Stream<Trip> getTripStream(String id) and then from the Amplify.DataStore and everything is connected via riverpod I am completly lost how to debug everything. I do not understand why the tripValue appears for a few hundret ms and then disapears.
What is the best way to debug changes of an Stream that comes from Amplify.DataStore?
Why is this getTripStream() a stream at all? Wouldn't it be easier to just have a Future here?
Thanks
Markus
The text was updated successfully, but these errors were encountered:
Hi, I am doing the tutorial. I am new to flutter and aws. The tutorial is great and helps me to get into it better.
However I am stuck in tutorial two module 3.
Everything works good so far. But when opening add_activity_page.dart it is loading the activity for a few ms and then switching to CircularProgressIndicator().
It seems that the asyncvalue loses its object when the widget is build again:
Since the tripValue comes from tripProvider
final tripValue = ref.read(tripProvider(tripId));
in trips_repository.dart as a ProviderStream and the get stream 'return tripsRepository.get(id);' comes from trips_datastore_service.dart andStream<Trip> getTripStream(String id)
and then from the Amplify.DataStore and everything is connected via riverpod I am completly lost how to debug everything. I do not understand why the tripValue appears for a few hundret ms and then disapears.What is the best way to debug changes of an Stream that comes from Amplify.DataStore?
Why is this getTripStream() a stream at all? Wouldn't it be easier to just have a Future here?
Thanks
Markus
The text was updated successfully, but these errors were encountered: