skip to Main Content

The body might complete normally, causing 'null' to be returned – Flutter

body: FutureBuilder( future: determinePosition(), builder: (context, snapshot) //error here{ if (snapshot.connectionState == ConnectionState.waiting) { return CircularProgressIndicator(); } else if (snapshot.hasError) { return Text("Error "); }else if(snapshot.hasData){ return Column( children: [ Text(currentAddress), The body might complete normally, causing 'null' to be…

VIEW QUESTION
Back To Top
Search