Browse Source

部分修改;

null_safety
w-R 4 years ago
parent
commit
ffeff84a3e
  1. 6
      lib/home/points_mall_page.dart
  2. 6
      lib/mine/coupons_page.dart
  3. 3
      lib/mine/manage_address_page.dart
  4. 6
      lib/mine/mine_card_invalid_page.dart
  5. 3
      pubspec.yaml

6
lib/home/points_mall_page.dart

@ -48,6 +48,12 @@ class _PointsMallPage extends State<PointsMallPage>
S.current.jifendidaogao,
];
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override
void initState() {
super.initState();

6
lib/mine/coupons_page.dart

@ -28,6 +28,12 @@ class _CouponsPage extends State<CouponsPage> {
ApiService apiService;
RefreshController _refreshController;
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override
void initState() {
super.initState();

3
lib/mine/manage_address_page.dart

@ -257,6 +257,8 @@ class _ManageAddressPage extends State<ManageAddressPage> {
),
),
InkWell(
child: Padding(
padding: EdgeInsets.only(top:5,),
child: Text(
"删除",
style: TextStyle(
@ -264,6 +266,7 @@ class _ManageAddressPage extends State<ManageAddressPage> {
color: Colors.black,
),
),
),
onTap: () {
showDeleteDialog(position);
},

6
lib/mine/mine_card_invalid_page.dart

@ -24,6 +24,12 @@ class _MineCardInvalidPage extends State<MineCardInvalidPage> {
ApiService apiService;
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override
void initState() {
super.initState();

3
pubspec.yaml

@ -41,8 +41,7 @@ dependencies:
permission_handler: ^5.0.1+1
amap_flutter_map: ^1.0.0
amap_flutter_location: ^2.0.0 # Null safety
share_plus: ^2.1.4
sharesdk_plugin: ^1.3.0
share: ^0.6.1+1
# flutter_baidu_mapapi_search: ^2.0.1
# flutter_baidu_mapapi_map: ^2.0.1

Loading…
Cancel
Save