renderCanResetAction method
dynamic
renderCanResetAction( - dynamic context,
- dynamic ref
)
Implementation
Widget renderCanResetAction(BuildContext context, WidgetRef ref) {
return Card(
child: ListTile(
leading: const Icon(Atlas.check_website_thin),
title: Text(L10n.of(context).encryptionBackupEnabled),
subtitle: Text(L10n.of(context).encryptionBackupEnabledExplainer),
trailing: OutlinedButton.icon(
icon: const Icon(Icons.toggle_on_outlined),
onPressed: () => showConfirmResetDialog(context, ref),
label: Text(L10n.of(context).reset),
),
),
);
}