56 lines
1.3 KiB
Dart
56 lines
1.3 KiB
Dart
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,
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|