build method

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

Implementation

@override
Widget build(BuildContext context, WidgetRef ref) {
  final roomAvatarInfo = ref.watch(roomAvatarInfoProvider(roomId));
  return Column(
    children: [
      ActerAvatar(
        options: AvatarOptions(
          roomAvatarInfo,
          size: 50,
        ),
      ),
      const SizedBox(height: 10),
      Text(roomAvatarInfo.displayName ?? ''),
    ],
  );
}