当前位置:网站首页>Shutter -- password login registration interface
Shutter -- password login registration interface
2022-07-28 01:22:00 【Alex Ling】
Password login and registration page (Flutter–Sign in & up --UI)
I think it's still OK Words , You might as well like it and pay attention to , Share some new projects that are easy to learn from time to time .
Click to download Source code
Be careful : GitHub The comments on the source code are in English ,Gitee The Chinese annotation version will be uploaded later

children: <Widget>[
const SizedBox(height: 30,),
const Text("Hi, Alex",style: TextStyle(fontWeight: FontWeight.bold, fontSize: 24),),
Container(
width: 90,
height: 5,
decoration: const BoxDecoration(
color: primary
),
),
const SizedBox(height: 40,),
TextField(
cursorColor: primary,
controller: _controllerEmail,
decoration: const InputDecoration(
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: primary)
),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: primary)
),
hintText: "Please enter your mobile/email number",
hintStyle: TextStyle(fontSize: 14)
),
),
const SizedBox(height: 30,),
TextField(
obscureText: !isShowPassword,
cursorColor: primary,
controller: _controllerPassword,
decoration: InputDecoration(
hintStyle: const TextStyle(fontSize: 14),
hintText: "Please enter password",
enabledBorder: const UnderlineInputBorder(
borderSide: BorderSide(color: primary)
),
focusedBorder: const UnderlineInputBorder(
borderSide: BorderSide(color: primary)
),
suffixIcon: FlatButton(onPressed: () {
setState(() { isShowPassword = !isShowPassword; }); }, child: Icon(isShowPassword ? Icons.visibility : Icons.visibility_off, color: primary,))
),
),
const SizedBox(height: 30,),
InkWell(
onTap: () {
gotoForgotPassword();
},
child: const Align(child: Text("Forgot password?"), alignment: Alignment.centerRight,)),
const SizedBox(height: 30,),
Row(
children: <Widget>[
Expanded(
child: FlatButton(
color: primary,
onPressed: () {
print("login action");
}, child: const Text("Sign in",style: TextStyle(color: white),)),
)
],
),
const SizedBox(height: 30,),
InkWell(
onTap: () {
goToSignUpPage();
},
child: const Align(child: Text("unregistered?"),alignment: Alignment.center,))
],
Thank you for your support .
边栏推荐
- mysql查询条件字段值末尾有空格也能查到数据问题
- From functional testing to automated testing, my monthly salary has exceeded 30k+, and I have 6 years of testing experience.
- 字节月薪28K,分享一波我的自动化测试经验....
- spreadsheet 导出 excel表格
- 晶方科技:光刻机厂商ASML为公司参与并购的Anteryon公司的最主要客户之一
- The cooperation between starfish OS and metabell is just the beginning
- 彻底搞懂kubernetes调度框架与插件
- Shaanxi Yuanjie semiconductor, a laser chip manufacturer, was invested by 8 investment institutions including GF Securities and CITIC Securities
- 文件系统挂载
- Huami technology "Huangshan No.2" release: AI performance is improved by 7 times, and power consumption is reduced by 50%!
猜你喜欢

工具函数:把一个工作区中非空字段值付给另一个工作区相同字段

Un7.13: how to add, delete, modify and query in vs Code?

Redis cache penetration breakdown and avalanche

EWM receiving ECC delivery note verification logic problem

Go 语言变量
![[C language] file operation](/img/6e/b8f3466ca0a5f7424afcab561124af.png)
[C language] file operation

【游戏】任天堂Nintendo Switch超详细购买/使用指南以及注意事项(根据自己使用持续更新中...)

逻辑回归原理

线性代数 【23】 概念的深入01 - Points坐标点和Vectors向量

实现ABCD字母递增
随机推荐
糟糕程序员的20个坏习惯
测试人员需要了解的软件流程
Tear the source code of gateway by hand, and tear the source code of workflow and load balancing today
6月19日上会,中芯国际或创造国内最快上市记录!
Introduction to the browser video frame operation method requestvideoframecallback()
EWM收货ECC交货单校验逻辑问题
Swoole collaboration
URDF 集成 Gazebo
如何让数字零售承接起流量时代和留量时代的发展重任,或许才是关键所在
BAT大厂测试架构师如何解读测试平台的各种争议
BigDecimal常用API
Cesium add dynamic pop-up
At the meeting on June 19, SMIC may set the fastest listing record in China!
Huawei's Hubble investment shares in VCSEL chip manufacturer Zonghui Xinguang
Redis sentinel mode
2022/07/27 learning notes (Day17) code blocks and internal classes
Knowledge of two-dimensional array
美光起诉联电窃密案宣判:联电被罚1亿元新台币,三名员工被判刑!
Tool function: pay the non empty field value in one workspace to the same field in another workspace
Code random notes_ Hash_ 1002 find common characters