You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
import 'package:dating_touchme_app/components/page_appbar.dart';
|
|
import 'package:dating_touchme_app/controller/home/friend_footprint_controller.dart';
|
|
import 'package:easy_refresh/easy_refresh.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
class FriendFootprint extends StatelessWidget {
|
|
const FriendFootprint({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetX<FriendFootprintController>(
|
|
init: FriendFootprintController(),
|
|
builder: (controller){
|
|
return Scaffold(
|
|
appBar: PageAppbar(title: "好友脚印"),
|
|
body: Container(
|
|
padding: EdgeInsets.all(12.w),
|
|
child: EasyRefresh(
|
|
child: ListView.separated(
|
|
itemBuilder: (context, index){
|
|
return Container();
|
|
},
|
|
separatorBuilder: (context, index) {
|
|
// 空状态或加载状态时不显示分隔符
|
|
if (true) {
|
|
return const SizedBox.shrink();
|
|
}
|
|
return const SizedBox(height: 12);
|
|
},
|
|
itemCount: 10,
|
|
),
|
|
),
|
|
),
|
|
);
|
|
},
|
|
);
|
|
}
|
|
}
|