setting_page.dart 747 B

1234567891011121314151617181920212223242526272829303132
  1. import 'package:flutter/material.dart';
  2. class SettingPage extends StatefulWidget {
  3. const SettingPage({super.key});
  4. @override
  5. State<SettingPage> createState() => _SettingPageState();
  6. }
  7. class _SettingPageState extends State<SettingPage> {
  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. SizedBox(
  16. width: double.infinity,
  17. height: 48,
  18. child: Row(
  19. children: [
  20. Icon(Icons.brightness_medium_outlined)
  21. ],
  22. ),
  23. )
  24. ],
  25. ),
  26. ),
  27. );
  28. }
  29. }