Any reason to use it in initSate()
?
Use ref.watch(userDataNotifierProvider)
in build function of your Widget.
You are printing the results before even network is fetching data.
With ref.watch() when your data is available widget rebuilds if its already been built.