// show_publicKeyText.dart import 'package:flutter/material.dart'; class AffichageClePubliqueTextePage extends StatelessWidget { const AffichageClePubliqueTextePage({super.key}); @override Widget build(BuildContext context) { // Replace with your actual public key retrieval logic final String publicKey = 'Votre clé publique ici'; return Scaffold( backgroundColor: Colors.black, appBar: AppBar( title: const Text('Clé Publique en Texte'), ), body: Center( child: Padding( padding: const EdgeInsets.all(16.0), child: SelectableText( publicKey, style: const TextStyle(color: Colors.white), textAlign: TextAlign.center, ), ), ), ); } }