account_manager_page.dart
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import 'package:flutter/material.dart';
import 'package:Parlando/login/login_router.dart';
import 'package:Parlando/routers/fluro_navigator.dart';
import 'package:Parlando/widgets/click_item.dart';
import 'package:Parlando/widgets/load_image.dart';
import 'package:Parlando/widgets/my_app_bar.dart';
import 'package:Parlando/extension/int_extension.dart';
class AccountManagerPage extends StatefulWidget {
const AccountManagerPage({Key? key}) : super(key: key);
@override
_AccountManagerPageState createState() => _AccountManagerPageState();
}
class _AccountManagerPageState extends State<AccountManagerPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: MyAppBar(
homeMenuHeader: Container(
alignment: Alignment.center,
child: const Text(
"账号管理",
style: TextStyle(color: Colors.white),
),
),
),
body: Column(
children: <Widget>[
Stack(
children: <Widget>[
ClickItem(title: '头像', onTap: () {}),
Positioned(
top: 8.px,
bottom: 8.px,
right: 40.px,
child: Icon(
Icons.account_circle,
size: 34.px,
color: Colors.blue,
))
],
),
ClickItem(
title: '修改密码',
content: '用于密码登录',
onTap: () =>
NavigatorUtils.push(context, LoginRouter.updatePasswordPage)),
const ClickItem(
title: '绑定账号',
content: '15000000000',
),
],
),
);
}
}