title: How to pass a googleMapController to custom widget? (Flutter)
body: <p>On my flutter googleMap i have quickDialButton, which has multiple buttons. One of them is supposed to center the camera of the parent mapWidget which happens via the googleMapControllet that i am passing as a parameter.</p>
  <pre><code>return Scaffold(
        body: GoogleMap(
          initialCameraPosition:
              CameraPosition(target: LatLng(42, 23), zoom: 11.5),
          myLocationButtonEnabled: false,
          zoomControlsEnabled: false,
          mapToolbarEnabled: false,
          onMapCreated: (controller) {
            googleMapController = controller;
          },
          markers: customMarkers.toSet(),
        ),
        floatingActionButton: MyQuickDialButton(
          c: googleMapController,
          latitude: userLocation.latitude,
          longitude: userLocation.longitude,
        ),
  </code></pre>
  <p>The problem is that the googleMapController gets initialized after the floatingActionButton property to the scaffold. How can i update it after i have the controller initialized.</p>