renderStartAction method
- dynamic context,
- dynamic ref
Implementation
Widget renderStartAction(BuildContext context, WidgetRef ref) {
return Card(
child: ListTile(
leading: const Icon(Icons.warning),
title: Text(L10n.of(context).encryptionBackupNoBackup),
subtitle: Text(L10n.of(context).encryptionBackupNoBackupExplainer),
trailing: OutlinedButton(
onPressed: () => startAction(context, ref),
child: Text(L10n.of(context).encryptionBackupNoBackupAction),
),
),
);
}