You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting error on initializing GoogleMapController _mapController; there is Error: Field '_mapController' should be initialized because its type 'GoogleMapController' doesn't allow null
when i use late GoogleMapController _mapController; there is error LateInitializationError: Field '_mapController' has not been initialized.
When i use GoogleMapController? _mapController; there is Error: Method 'animateCamera' cannot be called on 'GoogleMapController?' because it is potentially null.
What is the correct way to initialise?
The text was updated successfully, but these errors were encountered:
Hi,
I am getting error on initializing GoogleMapController _mapController; there is Error: Field '_mapController' should be initialized because its type 'GoogleMapController' doesn't allow null
when i use late GoogleMapController _mapController; there is error LateInitializationError: Field '_mapController' has not been initialized.
When i use GoogleMapController? _mapController; there is Error: Method 'animateCamera' cannot be called on 'GoogleMapController?' because it is potentially null.
What is the correct way to initialise?
The text was updated successfully, but these errors were encountered: