import 'package:flutter/material.dart'; import 'package:get/get.dart'; class MyPageView extends GetView { const MyPageView({super.key}); @override Widget build(BuildContext context) { const title = '我的'; return Scaffold( appBar: AppBar( centerTitle: true, title: const Text(title), ), body: ListView( children: const [ ListTile( leading: Icon(Icons.web), title: Text('隐私协议'), ), ListTile( leading: Icon(Icons.web), title: Text('用户协议'), ), ListTile( leading: Icon(Icons.info), title: Text('系统版本 v1.0'), ), ], ), ); } }