build method

  1. @override
dynamic build(
  1. dynamic context,
  2. dynamic ref
)

Implementation

@override
Widget build(BuildContext context, WidgetRef ref) {
  final avatarInfo =
      ref.watch(memberAvatarInfoProvider((userId: memberId, roomId: roomId)));
  return Container(
    decoration: const BoxDecoration(
      shape: BoxShape.circle,
    ),
    child: ActerAvatar(
      options: AvatarOptions.DM(
        avatarInfo,
        size: 14,
      ),
    ),
  );
}