个人中心完善页面路由
This commit is contained in:
55
lib/views/user/setting/safe/index_page.dart
Normal file
55
lib/views/user/setting/safe/index_page.dart
Normal file
@@ -0,0 +1,55 @@
|
||||
import 'package:chat/configs/app_colors.dart';
|
||||
import 'package:chat/views/home/widgets/action_item.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class UserSettingSafePage extends StatefulWidget {
|
||||
const UserSettingSafePage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<UserSettingSafePage> createState() => _UserSettingSafePageState();
|
||||
}
|
||||
|
||||
class _UserSettingSafePageState extends State<UserSettingSafePage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('安全设置'),
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
ActionItem(
|
||||
'导出助记词',
|
||||
onTap: () {},
|
||||
),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
ActionItem(
|
||||
'绑定手机',
|
||||
onTap: () {},
|
||||
),
|
||||
const Divider(
|
||||
height: 0,
|
||||
indent: 16,
|
||||
color: AppColors.border,
|
||||
),
|
||||
ActionItem(
|
||||
'绑定邮箱',
|
||||
onTap: () {},
|
||||
),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user