|
|
|
@ -5,7 +5,6 @@ import 'package:flutter_easyloading/flutter_easyloading.dart';
|
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:geolocator/geolocator.dart'; |
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/latlng.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/store.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
@ -298,17 +297,17 @@ class _UnionList extends State<UnionList> with AutomaticKeepAliveClientMixin {
|
|
|
|
|
SizedBox(height: 6.h), |
|
|
|
|
Row( |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
S.of(context).ren( |
|
|
|
|
if(store.perCapitaConsumption != null && (store?.perCapitaConsumption ?? "0") != "0") |
|
|
|
|
Padding(padding: EdgeInsets.only(right: 22.w),child:Text( |
|
|
|
|
S.of(context).ren( |
|
|
|
|
store?.perCapitaConsumption ?? "", |
|
|
|
|
), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(width: 22.w), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
if (store.distance != null) |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/icon_union_location_black.webp", |
|
|
|
|