|
|
|
@ -169,6 +169,7 @@ class _HomePageState extends BaseStoreState<HomePage>
|
|
|
|
|
_amapFlutterLocation.onLocationChanged().listen(
|
|
|
|
|
(event) {
|
|
|
|
|
_weatherLocation = event;
|
|
|
|
|
LoggerData.addData(_weatherLocation['city']);
|
|
|
|
|
_getWeather();
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
@ -463,12 +464,12 @@ class _HomePageState extends BaseStoreState<HomePage>
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(left: 10),
|
|
|
|
|
width: ScreenAdapterUtils.setWidth(iconSize),
|
|
|
|
|
height: ScreenAdapterUtils.setWidth(iconSize),
|
|
|
|
|
width: iconSize * 2.w,
|
|
|
|
|
height: iconSize * 2.w,
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/home_tab_search.png',
|
|
|
|
|
width: ScreenAdapterUtils.setWidth(iconSize),
|
|
|
|
|
height: ScreenAdapterUtils.setWidth(iconSize),
|
|
|
|
|
width: iconSize * 2.w,
|
|
|
|
|
height: iconSize * 2.w,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|