Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form #2

Open
RedsAnDev opened this issue Oct 12, 2020 · 0 comments
Open

Form #2

RedsAnDev opened this issue Oct 12, 2020 · 0 comments

Comments

@RedsAnDev
Copy link
Member

No description provided.

RedsAnDev added a commit that referenced this issue Oct 17, 2020
Per stampare un messagggio di cortesia, si puù osare SnackBar (il successore al toast message di Android). Purtroppo necessità di un Scaffold.of(context) per essere stampato.

Premendo il tasto di invio, si ottiene un eccezione del tipo `Scaffol.of() called with a context that does not contai a Scaffold`. Errore (e messaggio) alquanto bizzarro, dato che siamo in una funzione, usata da un oggetto che viene istanziato nello SCaffold. Come si risolve_
RedsAnDev added a commit that referenced this issue Oct 17, 2020
Per risolvere il problema derivato dallo "Scaffold not contained", ecco che basta utuilizzare il costruttore `Builder(builder(BuildContent content){})`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant