Email validation not working in flutter display message even if email address is correct

email empty validation works but email type validation is not working display “Invalid Email” message if right email address inserted. new TextFormField( decoration: new InputDecoration( labelText: ‘Email’ ), validator: (value){ if (value.isEmpty) { return ‘Email is required’; } if(!value.contains(r’^(([^<>()[\]\\.,;:\[email protected]\”]+(\.[^<>()[\]\\.,;:\[email protected]\”]+)*)|(\”.+\”))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$’)){ return ‘Invalid Email’; } return null; }, )

Details

Update query teradata with nested select statement

I’m trying to replace a select into another table with same parameters. UPDATE DL_RG_ANALYTICS.SH_historico_1 FROM ( SELECT ANO_MES, TIP_TAR,DIA_PAGO, MARCA_RENEG, MONTO, TRAMO_MORA, DIA_PAGO, CASOS, CANAL, TRAMO_PAGO, TIPO_MORA, MES ,CAST((MAX_DIA – DIA_PAGO) AS INTEGER) AS DIAS_AL_CIERRE_1 FROM (SELECT * FROM DL_RG_ANALYTICS.SH_historico_1 A LEFT JOIN (SELECT ANO||MES AS ANOMES, MAX(DIA) AS MAX_DIA FROM DL_RG_ANALYTICS.SH_CALENDARIO GROUP BY 1)…

Details

Verifying user mobile numer for webserver other than OTP

Am trying to verify user mobile by send OTP form webserver without SMS gateway, is there anyway to verify user mobile number. and i found script which can send text through whats’app https://stackoverflow.com/a/54860160/3836908 but does nothing var whatsappMessage = “My First” + “\r\n\r\n” + “Message for Test”; whatsappMessage = window.encodeURIComponent(whatsappMessage); document.getElementById(“<?php echo $id; ?>-whatsapp-link”).setAttribute(“href”, (“https://api.whatsapp.com/send?phone=9566954423&text=”…

Details

Get data from multidimensional array js

I have a multidimensional js array, as for example: const array1 = [{“entrance”:”20″,”a”:”10″},{“entrance”:”15″,”b”:”25″}]; I want to get entrances values as a new array. Till today I´m using a for bucle to do it, like this: var entrance = []; for(i=0;i<array1.length;i++){ entrance[i] = array1[i][“entrance”]; } This works perfect, but i guess if there is a pretty…

Details