【发布时间】:2021-12-22 22:45:39
【问题描述】:
我有两个数据列表存储在
1. final profiles = context.watch<ProfilesBloc>().state.profiles;
2. final users= context.watch<UsersBloc>().state.users;
我想用唯一的 profile.id 与 user.id 匹配的人来构建列表 我试过 if (user.id == profiles.id) 但它不工作 有什么帮助吗?
【问题讨论】:
标签: flutter dart flutter-layout flutter-test