[enter image description here] —–img1 (https://i.sstatic.net/82ibUUbT.png) ——img2
child: Button(
height: 6.3.h,
width: 55.w,
color: tPrimaryColor,
textcolor: tWhite,
bottonText: 'Login'.tr,
borderSide: BorderSide(
color: tPrimaryColor,
),
boxshadow: [tButtonBoxshadow],
onTap: (startLoading, stopLoading, btnState) async {
if (_formKey.currentState!.validate()) {
}
if (_formKey.currentState!.validate()) {
print(_usernumbercontroller.text);
print('_usernumbercontroller');
Map<String, String> param = {'contact_no': _usernumbercontroller.text};
var res = await UserAPI().sendOtp(context, param);
Navigator.push(context, MaterialPageRoute(builder: (_) => OtpPageView() ));
}
},
),
i need solutions for it in flutter code
New contributor
Balu0142 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.