|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
import 'package:aku_new_community/widget/others/user_tool.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
|
@ -86,8 +87,8 @@ class AddressListPageState extends State<AddressListPage>
|
|
|
|
firstRefresh: true,
|
|
|
|
firstRefresh: true,
|
|
|
|
header: MaterialHeader(),
|
|
|
|
header: MaterialHeader(),
|
|
|
|
controller: _refreshController,
|
|
|
|
controller: _refreshController,
|
|
|
|
onRefresh: () async {
|
|
|
|
onRefresh: () async { await UserTool.appProvider.getMyAddress();
|
|
|
|
_addressModels = await Userfunc.getMyAddress();
|
|
|
|
_addressModels = UserTool.appProvider.addressModels;
|
|
|
|
_onload = false;
|
|
|
|
_onload = false;
|
|
|
|
setState(() {});
|
|
|
|
setState(() {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|