| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import 'package:bbyyy/my_tools/my_colors.dart';
- import 'package:bbyyy/my_tools/my_views.dart';
- import 'package:flutter/cupertino.dart';
- import 'package:flutter/material.dart';
- class LogoutPage extends StatefulWidget {
- @override
- _LogoutPageState createState() => _LogoutPageState();
- }
- class _LogoutPageState extends State<LogoutPage> {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- body: Column(
- children: [
- MyViews().myAppBar('注销账号', context, []),
- Expanded(
- child: Container(
- child: Text(
- '注销账户须知:\n1. 确保当前账户没有剩余积分。\n2. 确保当前账户没有未收取与未支付订单。\n3. 确保当前账户以退出所有加入的货帮并解散自己创建的所有货帮。'),
- margin: EdgeInsets.all(20),
- ),
- ),
- GestureDetector(
- onTap: (){
- showSimpleDialog('确认注销当前账户?', context, (){
- Navigator.pop(context);
- });
- },
- child: Container(
- height: 40,
- decoration: BoxDecoration(
- color: MyColors.cFF4233,
- borderRadius: BorderRadius.circular(20),
- ),
- child: Text('注销账号',style: TextStyle(color: Colors.white,fontSize: 16),),
- alignment: Alignment.center,
- margin: EdgeInsets.all(20),
- ),
- ),
- ],
- ),
- );
- }
- }
|