Closed idc77 closed 1 year ago
I''m running this as an app on linux
If you actually meant your app was targeting and running on Linux as opposed to your development environment being on Linux then the issue you're seeing would because the plugin doesn't support Linux. If this is indeed what's happening and you were debugging the app then believe you should've been getting an error (e.g. UnimplementedError()
) or some exception being thrown. pub.dev should advertise the supported platforms
Thanks for the response. I see how this can be misunderstood. Writing on Linux with the Linux target platform.
Well I tried this now (Android target) and it actually worked.
I come from JS frontend, Vue in the 2 recent years. What would you as an experienced Flutter guy recommend to use for global state?
I tried what I posted above and the 2nd Button would not update, so that means I need some reactive state management. How do YOU use your package in real world apps?
Success. I made it work with Provider :) https://github.com/idc77/authskel
Still if you as the more experienced Flutter guy have a better approach, please share. Going to close it.
That given example in this repo is probably allright for a single widget, but what if you need to access the state in multiple widgets?
I tried copying the code from the example but when I press "the button" nothing happens
and
As you can probably tell I'm quite new or rather returning to flutter after a few years break. Meanwhile much has changed and maybe it didn't, but I'm taking a wild guess that this auth will be needed in multiple widgets.
If y ou can't or won't help, can you point me to where I can get help?
I''m running this as an app on linux. Nothing happens when I press the "TextButton" button.