我正在尝试使用此软件包
https://github.com/buurzx/tinderCloneUI
我有一个问题
为什么当我添加四个以上的配置文件对象时却没有出现?
例如,在这里我要添加四个以上的人
final List<Profile> demoProfiles = [
new Profile(
photos: [
"assets/photo_1.jpg",
"assets/photo_2.jpg",
"assets/photo_3.jpg",
"assets/photo_4.jpg",
],
name: "Gross person",
bio: "You better swpe left",
),
new Profile(
photos: [
"assets/photo_2.jpg",
"assets/photo_3.jpg",
"assets/photo_4.jpg",
"assets/photo_1.jpg",
],
name: "Someone Special",
bio: "This is the person you want",
),
new Profile(
photos: [
"assets/photo_1.jpg",
"assets/photo_2.jpg",
"assets/photo_3.jpg",
"assets/photo_4.jpg",
],
name: "Gross person",
bio: "You better swpe left",
),
new Profile(
photos: [
"assets/photo_1.jpg",
"assets/photo_2.jpg",
"assets/photo_3.jpg",
"assets/photo_4.jpg",
],
name: "Gross person",
bio: "You better swpe left",
),
new Profile(
photos: [
"assets/photo_1.jpg",
"assets/photo_2.jpg",
"assets/photo_3.jpg",
"assets/photo_4.jpg",
],
name: "Gross person",
bio: "You better swpe left",
),
];
但是在获得第四人称卡之后,一切都消失了。
任何人都可以使用此软件包,然后才能帮助我解决此问题。
我认为问题出在这个电话中
widget.matchEngine.cycleMatch();
如果有人熟悉颤振,请帮助我