4 MINDS

Sistema para Gestão de Conhecimento

Pesquisar..

Receber Novidades

Cloud tag

Mais Visitados

Últimas Publicações


4 resultado(s) encontrado(s) para <em class='keyword'>Dart</em> em <em>0.009</em> segundos

dart + crypto + hmac + aqueduct

Dart&nbsp; import 'dart:convert'; import 'package:convert/convert.dart'; import 'package:crypto/crypto.dart'; var key = "my key";&nbsp; var message = "my message"; // use sha1 algorithm var hmac = new Hmac(sha1, UTF8.encode(key)); // conv


Aqueduct error Trying to set 'Transfer-Encoding: Chunked'

Aqueduct + Nginx Error &nbsp;HttpException: Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers #0&nbsp; &nbsp; &nbsp; _HttpHeaders.chunkedTransferEncoding= (dart:io/http_headers.dart:166) #1&nbsp; &nbsp; &nbsp; _HttpHeaders._addTransferEncoding (dart:io/http_h


Flutter + FormField builder + validation

Date time dialog example: new FormField( &nbsp; builder: (FormFieldState&lt;DateTime&gt; field) { &nbsp; &nbsp; return new Container( &nbsp; &nbsp; &nbsp; padding: const EdgeInsets.only(top: 20.0), &nbsp; &nbsp; &nbsp; child: new FlatButton( &nbsp; &nbsp; &nbs


Dart filter number from string

Dart filter number from string var toPhone = (phone) { var regex = new RegExp(r"(\w+)"); var results = regex.allMatches(phone).map((m) =&gt; m[0]).toList(); return results.join(); }; var phone = toPhone("(54) 999.767.081");