title: Flutter: How to show CircularprogressIndicator?
body: <pre><code>void refresh() async {
      await get.getFromFirestore(id);
      await get.showData(get.data(), context);
  
      setState(() {
        markerList = get.getList();
      })
  }
  
  
  Widget build(BuildContext context) {
      return Scaffold(
        body: Container(
          child: GoogleMap(
            mapType: MapType.normal,
            mapToolbarEnabled: false,
            initialCameraPosition: _currentlo,
            onMapCreated: _onMapCreated,
            markers: markerList
          ),
        ),
        floatingActionButton: SpeedDial(
          animatedIcon: AnimatedIcons.menu_close,
          animatedIconTheme: IconThemeData(size: 22, color: Colors.black),
          closeManually: false,
          curve: Curves.bounceIn,
          overlayColor: Colors.black,
          children: [
            SpeedDialChild(
              backgroundColor: Colors.white,
              child: Icon(Icons.refresh, color: Colors.black,),
              onTap: (){
                refresh();
              }
            ),
          ],
        ),
      );
    }
  </code></pre>
  <p>This is my code. I programmed refresh method. I want to show <code>CircularprogressIndicator</code> when I tap the <code>SpeedDialChild</code>. My data comes from Firestore. So it takes long time when data size is big. How can I do this?</p>