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