|
|
|
|
@ -79,10 +79,10 @@ class _LoginWithPasswordState extends State<LoginWithPassword> {
|
|
|
|
|
50.height,
|
|
|
|
|
"Enter Mobile or Email".toText24(),
|
|
|
|
|
mFlex(1),
|
|
|
|
|
_mobile ? Column(
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
TxtField(
|
|
|
|
|
hint: "Enter phone number",
|
|
|
|
|
hint: _mobile ? "Enter phone number" : "Enter Email",
|
|
|
|
|
value: phoneNum,
|
|
|
|
|
onChanged: (v) {
|
|
|
|
|
phoneNum = v;
|
|
|
|
|
@ -99,17 +99,7 @@ class _LoginWithPasswordState extends State<LoginWithPassword> {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
): _email ?
|
|
|
|
|
TxtField(
|
|
|
|
|
hint: "Enter Email",
|
|
|
|
|
value: password,
|
|
|
|
|
isPasswordEnabled: true,
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
onChanged: (v) {
|
|
|
|
|
password = v;
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
:Container(),
|
|
|
|
|
),
|
|
|
|
|
10.height,
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
|
|
|