build method

  1. @override
dynamic build(
  1. dynamic context
)

Implementation

@override
Widget build(BuildContext context) {
  return Container(
    decoration: BoxDecoration(
      borderRadius: BorderRadius.circular(15),
    ),
    child: Column(
      mainAxisAlignment: MainAxisAlignment.start,
      mainAxisSize: MainAxisSize.min,
      children: [
        Padding(
          padding: const EdgeInsets.symmetric(vertical: 5),
          child: buildTitleBar(context),
        ),
        const Spacer(),
        Text(L10n.of(context).sasIncomingReqNotifContent(sender)),
        const Spacer(),
        const Icon(Atlas.lock_keyhole),
        const Spacer(),
        ActerPrimaryActionButton(
          child: Text(L10n.of(context).acceptRequest),
          onPressed: () => onAccept(context),
        ),
        const Spacer(),
      ],
    ),
  );
}