flutter create --org "com.pedrolemoz" -a kotlin --androidx -i swift --description "Description" project_name_with_underscores
flutter channel stable (or beta, dev, master)
flutter upgrade
let book = document.getElementById("livro").cloneNode(true); | |
let classNames = [ | |
"sc-sspg3m-0 eHxMNi", | |
"sc-1gelwlk-0 hxgNbb", | |
"sc-sspg3m-5 jrpxZf", | |
"sc-sspg3m-6 boCaKs", | |
"sc-sspg3m-8 iRLKDk", | |
"sc-sspg3m-9 cHLEwn", | |
"sc-1iousas-0 jKQDwC", |
abstract class Validator { | |
final Validator? nextValidator; | |
Validator([this.nextValidator]); | |
bool call(int value); | |
} | |
class Class1 implements Validator { | |
@override |
void main() { | |
final data = List.generate(10, (index) => index); | |
final result = splitListIntoListsOfValuesWithType<int>(splitQuantity: 4, elements: data); | |
print(result); | |
} | |
List<List<T>> splitListIntoListsOfValuesWithType<T>({List<T> elements, int splitQuantity}) { | |
List<List<T>> resultList = []; | |
for (var index = 0; index < elements.length; index += splitQuantity) { |
void main() { | |
final i = IterativeMethods(); | |
i.gaussSeidel( | |
precision: 4, | |
initialAproximation: [0, 0, 0], | |
maxIterations: 10, | |
matrix: [ | |
[5, 2, 1, 0], | |
[2, 4, 1, 2], |
import 'dart:io'; | |
/* | |
Author: Pedro Lemos | |
Email: lemozxpedro@gmail.com | |
Created in: 10/10/2020 @ 12:36 PM | |
*/ | |
class AutoFormatter { | |
static void formatAllDartFiles({ |
import 'package:http/http.dart' as http; | |
import 'package:html/parser.dart'; | |
class MagicMagnet { | |
Map _magnetLinks = {}; | |
Future<Map> search(String searchContent, | |
{bool google = true, | |
bool tpb = false, | |
bool l337x = false, |