WallPaper_ZZH_Flutter/wallpaper/lib/pages/mypage/mypage_view.dart
2024-05-15 18:01:15 +08:00

46 lines
1.2 KiB
Dart

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: <Widget>[
ListTile(
leading: const Icon(Icons.web),
title: const Text('隐私协议'),
trailing: const Icon(Icons.arrow_forward_ios),
onTap: () {
},
),
ListTile(
leading: const Icon(Icons.supervisor_account),
title: const Text('用户协议'),
trailing: const Icon(Icons.arrow_forward_ios),
onTap: () {
},
),
ListTile(
leading: const Icon(Icons.info),
title: const Text('系统版本'),
trailing: const Text("v1.0",style: TextStyle(fontSize: 14),),
onTap: () {
print(".....ssss");
},
),
],
),
);
}
}