mono0926/adaptive_dialog

Don't use 'BuildContext's across async gaps.

Closed this issue · 1 comments

Don't use 'BuildContext's across async gaps in void initState() event,

Try rewriting the code to not reference the 'BuildContext'.

how solve it?

This is not related to this package.
You seems to be asking how to use showDialog function - material library - Dart API etc.
Please ask at https://stackoverflow.com or somewhere.