您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
856B

  1. import 'package:flutter/material.dart';
  2. final class ExportScreen extends StatelessWidget {
  3. const ExportScreen({super.key});
  4. @override
  5. Widget build(BuildContext context) {
  6. return Scaffold(
  7. appBar: AppBar(title: const Text('Partager')),
  8. body: Center(
  9. child: Column(
  10. mainAxisAlignment: MainAxisAlignment.center,
  11. children: [
  12. const Icon(Icons.share, size: 64),
  13. const SizedBox(height: 24),
  14. const Text('Sélectionnez les réseaux'),
  15. const SizedBox(height: 32),
  16. FilledButton(
  17. onPressed: () => ScaffoldMessenger.of(context).showSnackBar(
  18. const SnackBar(content: Text('Partage réussi!')),
  19. ),
  20. child: const Text('Partager maintenant'),
  21. ),
  22. ],
  23. ),
  24. ),
  25. );
  26. }
  27. }