Category : ios

I want to pass 2 arguments from ‘getCodePage’ to ‘MainPage’ then i have this error. this is my getCodePage the part that i pass the arguments: onTap: (){ final String NumID = ModalRoute.of(context).settings.arguments.toString(); final SmsCode = _controller.text; final IDNum = NumID.toString(); final url = ‘https://***********/api/User/$IDNum?sms=$SmsCode’; Future fetchSMS() async { final response = await http.get(url); if ..

Read more