skip to Main Content

init state for FutureBuilder flutter

i am confused where can i implement the init state condition for future builder. see whats wrong in my code. in flutter documentation is refer initState for Future builder widget. ` @override void initState() { super.initState(); futureLoginuser = loginuser(); }`…

VIEW QUESTION

navigation inside Futurebuilder – Flutter

I am trying to navigate after login inside futurebuilder. api request done successfully but navigation getting error while testing. Help me How to use futurebuilder properly. child: ElevatedButton( onPressed: () { // Validate returns true if the form is valid,…

VIEW QUESTION
Back To Top
Search