Browse Source

UI

null_safety
fmk 3 years ago
parent
commit
2cf9fccf9a
  1. 30
      lib/union/union_details_page.dart

30
lib/union/union_details_page.dart

@ -204,20 +204,22 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
CrossAxisAlignment.end, CrossAxisAlignment.end,
children: [ children: [
Expanded( Expanded(
child: Text( child: Text(
S.of(context).yingyeshijian(storeInfo == S.of(context).yingyeshijian(storeInfo ==
null null
? "" ? ""
: (storeInfo.openStartTime == : (storeInfo.openStartTime ==
null && null &&
storeInfo.openEndTime == storeInfo
null) .openEndTime ==
? S.of(context).quantian null)
: "${storeInfo.openStartTime.substring(0, storeInfo.openStartTime.lastIndexOf(":"))} - ${storeInfo.openEndTime.substring(0, storeInfo.openEndTime.lastIndexOf(":"))}"), ? S.of(context).quantian
style: TextStyle( : "${storeInfo.openStartTime.substring(0, storeInfo.openStartTime.lastIndexOf(":"))} - ${storeInfo.openEndTime.substring(0, storeInfo.openEndTime.lastIndexOf(":"))}"),
color: Color(0xFF353535), style: TextStyle(
fontWeight: FontWeight.w400, color: Color(0xFF353535),
fontSize: 12.sp, fontWeight: FontWeight.w400,
fontSize: 12.sp,
),
), ),
), ),
SizedBox( SizedBox(

Loading…
Cancel
Save