Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Do not use BuildContexts across async gaps.

if (!mounted) return;
        Navigator.push(context,
            CupertinoPageRoute(builder: (context) => const SignUpScreen()));
 
PREVIOUS NEXT
Tagged: #Do #BuildContexts #async
ADD COMMENT
Topic
Name
7+6 =