build method
- dynamic context,
- 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 ?? ''),
],
);
}