|
|
|
@ -78,18 +78,20 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return Scaffold( |
|
|
|
|
appBar: MyAppBar( |
|
|
|
|
background: Color(0xFFF7F7F7), |
|
|
|
|
title: storeInfo == null ? widget.arguments["storeName"] : storeInfo.storeName, |
|
|
|
|
titleColor: Colors.black87, |
|
|
|
|
titleSize: 18.sp, |
|
|
|
|
leadingColor: Colors.black, |
|
|
|
|
), |
|
|
|
|
body: FutureBuilder( |
|
|
|
|
future: queryStoreInfo(), |
|
|
|
|
builder: (context, snapshot) { |
|
|
|
|
return Column( |
|
|
|
|
return FutureBuilder( |
|
|
|
|
future: queryStoreInfo(), |
|
|
|
|
builder: (context, snapshot) { |
|
|
|
|
return Scaffold( |
|
|
|
|
appBar: MyAppBar( |
|
|
|
|
background: Color(0xFFF7F7F7), |
|
|
|
|
title: storeInfo == null |
|
|
|
|
? (widget.arguments["storeName"] ?? "") |
|
|
|
|
: storeInfo.storeName, |
|
|
|
|
titleColor: Colors.black87, |
|
|
|
|
titleSize: 18.sp, |
|
|
|
|
leadingColor: Colors.black, |
|
|
|
|
), |
|
|
|
|
body: Column( |
|
|
|
|
children: [ |
|
|
|
|
Expanded( |
|
|
|
|
child: SmartRefresher( |
|
|
|
@ -356,9 +358,9 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|