? As u see on right side i'm calling the fetch function in init state (on left side u can see the fetch method and it return the correct data) and then i have defined the vmlogin and accessing the properties with vmLogin.data.title for e.g. But the data isnt shown the screen keeps empty... any idea?
You can't use context in initstate, wrap with addpostframe things to access the context in a first frame after build
hmmm i used that example here
did i initialized the changenotifierprovider correctly?
Обсуждают сегодня