bizz84 / bizz84/flutter-tips-and-tricks
Tip #64 - FutureProvider.family non correctly initialized in the example
Open
Beginner friendly
- Dominant language
- Dart
- Stars
- 2.3k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
`AsyncValue weather = ref.watch (weatherFutureProvider) ;`
should be:
`AsyncValue weather = ref.watch (weatherFutureProvider('London') ;`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Tip #64 example containing the FutureProvider.family usage. Update the weatherProvider watch call so it supplies the London argument, then verify that the displayed example is valid Dart and shows the intended initialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100