Skip to content

Instantly share code, notes, and snippets.

View peagape's full-sized avatar
🏠
Working from home

Flávio Rocha peagape

🏠
Working from home
  • 33ag
  • Poá - SP
View GitHub Profile
@peagape
peagape / validate_format.dart
Last active September 14, 2021 03:00
Um validador de EMAIL, JOSN, BASE64, utilizando REGEX para validar os itens, podendo acrescentar mais itens no Map.
/* //
* Code by Flávio Rocha
* github.com/peagape
* 2021
*
* */
void main()
{
bool hasMatch(String? value, String pattern)
@peagape
peagape / carrinho_compras.dart
Last active October 1, 2020 14:47
carrinho_compras.dart
import 'dart:io';
List<String> produtos = [];
main() {
bool codicao = true;
while(codicao){