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

28 行
842B

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