parent
79c19e7074
commit
765470c5cf
@ -0,0 +1,62 @@
|
|||||||
|
import 'package:akuCommunity/base/base_style.dart';
|
||||||
|
import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart';
|
||||||
|
import 'package:akuCommunity/utils/headers.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:velocity_x/velocity_x.dart';
|
||||||
|
|
||||||
|
class SignUpSetNicknamePage extends StatefulWidget {
|
||||||
|
SignUpSetNicknamePage({Key key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
_SignUpSetNicknamePageState createState() => _SignUpSetNicknamePageState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _SignUpSetNicknamePageState extends State<SignUpSetNicknamePage> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
body: ListView(
|
||||||
|
padding: EdgeInsets.symmetric(horizontal: 32.w),
|
||||||
|
children: [
|
||||||
|
148.hb,
|
||||||
|
signUpTitle('设置昵称'),
|
||||||
|
190.hb,
|
||||||
|
'请输入您的昵称'.text.size(32.sp).color(ktextPrimary).make(),
|
||||||
|
TextField(
|
||||||
|
decoration: InputDecoration(
|
||||||
|
border: UnderlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Color(0xFFD8D8D8)),
|
||||||
|
),
|
||||||
|
hintText: '为保护个人隐私,在与邻居交流时将显示昵称',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
bottomNavigationBar: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
|
children: [
|
||||||
|
MaterialButton(
|
||||||
|
color: kPrimaryColor,
|
||||||
|
elevation: 0,
|
||||||
|
height: 89.w,
|
||||||
|
child: '保存'.text.make(),
|
||||||
|
shape: StadiumBorder(),
|
||||||
|
onPressed: () {},
|
||||||
|
),
|
||||||
|
MaterialButton(
|
||||||
|
elevation: 0,
|
||||||
|
height: 89.w,
|
||||||
|
child: [
|
||||||
|
Icon(Icons.cached_rounded),
|
||||||
|
12.wb,
|
||||||
|
'换一换'.text.make(),
|
||||||
|
].row(),
|
||||||
|
shape: StadiumBorder(),
|
||||||
|
onPressed: () {},
|
||||||
|
),
|
||||||
|
],
|
||||||
|
).pLTRB(82.w, 0, 82.w, 60.w),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue