4 MINDS

4MINDS Gestão de Conhecimento

Pesquisar..

Receber novidades

Cloud tag

Mais visitados


Mais recentes


4 resultado(s) encontrado(s) para Dart em 0.019 segundos

dart + crypto + hmac + aqueduct

Dart  import 'dart:convert'; import 'package:convert/convert.dart'; import 'package:crypto/crypto.dart'; var key = "my key";  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  HttpException: Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers #0      _HttpHeaders.chunkedTransferEncoding= (dart:io/http_headers.dart:166) #1      _HttpHeaders._addTransferEncoding (dart:io/http_h


Flutter + FormField builder + validation

Date time dialog example: new FormField(   builder: (FormFieldState<DateTime> field) {     return new Container(       padding: const EdgeInsets.only(top: 20.0),       child: new FlatButton(     &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) => m[0]).toList(); return results.join(); }; var phone = toPhone("(54) 999.767.081");