Closed ghost closed 1 year ago
This paragraph might need updating as well:
The majority of the state will be managed by the stream_feed_flutter_core package, however, you still need an easy way to pass around some state in your application, for example, the current authenticated used.
user?
I'm following your awesome tutorial and noticed a small, benign, thing you may want to update:
The documentation here: https://getstream.io/blog/instagram-clone-flutter/
The following section: Models (User)
The code after the following text: And in the app/state/state.dart barrel file add:
export 'demo_users.dart'; export 'app_state.dart'; export 'models/models.dart'; // ADD THIS
Should be:
export 'demo_users.dart'; export 'models/models.dart'; // ADD THIS
Because the app_state.dart hasn't been created yet, its in the next section. The code in the state management(provider) section needs to be updated as well.
...
export 'demo_users.dart'; export 'app_state.dart'; // ADD THIS
to
export 'demo_users.dart'; export 'app_state.dart'; // ADD THIS export 'models/models.dart';
Thanks so much for putting this tutorial together! I've only gotten this far, and its pretty awesome!