flutter-tips-and-tricks
flutter-tips-and-tricks copied to clipboard
Tip #64 - FutureProvider.family non correctly initialized in the example
AsyncValue<Weather> weather = ref.watch (weatherFutureProvider) ;
should be:
AsyncValue<Weather> weather = ref.watch (weatherFutureProvider('London') ;
fixed it with PR #20