How to use _location.onLocationChanged.listen((l) {} value outside the method?

前端 未结 0 917
予麋鹿
予麋鹿 2021-01-27 12:46

I have a block of code in my flutter google map implementation like this:

Location _location = Location();
 void _onMapCreated(GoogleMapController _cntrl) {
    _         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题