Register form - added icons for each form fields
This commit is contained in:
parent
cf90d48d00
commit
ecd0bde4a6
1 changed files with 9 additions and 4 deletions
|
@ -55,10 +55,15 @@ class RegisterFormState extends State<RegisterForm> {
|
|||
key: _formKey,
|
||||
child: Column(
|
||||
children: [
|
||||
makeInput(label: "First Name"),
|
||||
makeInput(label: "Last Name"),
|
||||
makeInput(label: "Email Address"),
|
||||
makeInput(label: "Password", obscureText: true)
|
||||
makeInput(
|
||||
label: "First Name", icon: Icons.person),
|
||||
makeInput(label: "Last Name", icon: Icons.person),
|
||||
makeInput(
|
||||
label: "Email Address", icon: Icons.email),
|
||||
makeInput(
|
||||
label: "Password",
|
||||
obscureText: true,
|
||||
icon: Icons.lock)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue