renderStartAction method

dynamic renderStartAction(
  1. dynamic context,
  2. 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),
      ),
    ),
  );
}