build method
dynamic
build( - dynamic context,
- dynamic ref
)
Implementation
@override
Widget build(BuildContext context, WidgetRef ref) {
final roomId = roomInfo.roomIdStr();
final avatarInfo = ref.watch(roomHierarchyAvatarInfoProvider(roomInfo));
bool showSuggested = indicateIfSuggested && roomInfo.suggested();
return RoomWithAvatarInfoCard(
roomId: roomId,
avatarInfo: avatarInfo,
onTap: onTap ?? () {},
onFocusChange: onFocusChange,
onLongPress: onLongPress,
avatarSize: avatarSize,
contentPadding: contentPadding,
shape: shape,
showSuggestedMark: showSuggested,
trailing: trailing,
);
}