informations filled
This commit is contained in:
parent
da3659e84a
commit
83c65be610
@ -162,7 +162,7 @@ class _EditProfileState extends State<EditProfile>
|
|||||||
inputName.text = body["name"];
|
inputName.text = body["name"];
|
||||||
inputFirstName.text = body["firstName"];
|
inputFirstName.text = body["firstName"];
|
||||||
inputUserName.text = body["username"];
|
inputUserName.text = body["username"];
|
||||||
inputEmail = body["email"];
|
inputEmail.text = body["email"];
|
||||||
inputBirth.text =
|
inputBirth.text =
|
||||||
DateFormat("dd/MM/yyyy").format(DateTime.parse(body["birth"]));
|
DateFormat("dd/MM/yyyy").format(DateTime.parse(body["birth"]));
|
||||||
});
|
});
|
||||||
@ -248,7 +248,7 @@ class _EditProfileState extends State<EditProfile>
|
|||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: OutlineInputBorder(),
|
border: OutlineInputBorder(),
|
||||||
labelText: 'Mot de passe',
|
labelText: 'Confirmez le mot de passe',
|
||||||
hintText: 'Confirmez le mot de passe'),
|
hintText: 'Confirmez le mot de passe'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -283,7 +283,7 @@ class _EditProfileState extends State<EditProfile>
|
|||||||
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
||||||
//padding: EdgeInsets.symmetric(horizontal: 15),
|
//padding: EdgeInsets.symmetric(horizontal: 15),
|
||||||
child: TextFormField(
|
child: TextFormField(
|
||||||
controller: inputName,
|
controller: inputEmail,
|
||||||
validator: (value) => _validateField(value),
|
validator: (value) => _validateField(value),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: OutlineInputBorder(),
|
border: OutlineInputBorder(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user