build method
dynamic
build( - dynamic context,
- dynamic ref
)
Implementation
@override
Widget build(BuildContext context, WidgetRef ref) {
final lang = L10n.of(context);
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
child: Row(
children: [
Expanded(child: Text(lang.eventParticipants)),
TextButton(
onPressed: () => Navigator.pop(context),
child: Text(lang.close),
),
],
),
),
Expanded(
child: SingleChildScrollView(
child: Column(
children: [
for (final memberId in participants)
MemberListEntry(
memberId: memberId,
roomId: roomId,
isShowActions: false,
),
],
),
),
),
],
);
}