about_page.dart 689 B

12345678910111213141516171819202122232425262728
  1. import 'package:flutter/material.dart';
  2. class AboutPage extends StatefulWidget {
  3. const AboutPage({super.key});
  4. @override
  5. State<AboutPage> createState() => _AboutPageState();
  6. }
  7. class _AboutPageState extends State<AboutPage> {
  8. @override
  9. Widget build(BuildContext context) {
  10. return Scaffold(
  11. appBar: AppBar(title: const Text('关于')),
  12. body: const SingleChildScrollView(
  13. child: Column(
  14. children: [
  15. ListTile(
  16. leading: Icon(Icons.info_outline_rounded),
  17. title: Text('开源许可'),
  18. trailing: Icon(Icons.arrow_forward_ios_rounded),
  19. ),
  20. ],
  21. ),
  22. ),
  23. );
  24. }
  25. }