deleteAccout method

Widget deleteAccout(
  1. BuildContext context,
  2. ProfileViewBasic author
)

Implementation

Widget deleteAccout(BuildContext context, ProfileViewBasic author) {
  return Row(children: [
    circleItem(context, 20, Icons.delete, color: color),
    sizeBox,
    InkWell(
      child: textItem('${tr("account.delete")}...', color: color),
      onTap: () async {
        await showModal(context, const AccountDelete());
      },
    ),
  ]);
}