A Pen by Caballero75 on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var questoes = [ | |
{ | |
'Pergunta': ['Qual cor?'], | |
'Respostas': ['Verde', 'Vermelho', 'Preto'] | |
}, | |
{ | |
'Pergunta': ['Qual animal?'], | |
'Respostas': ['Cavalo', 'Cobra'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin Agility{ | |
var speed = 10; | |
void sitDown(){ | |
print('Sittin down'); | |
} | |
} | |
class Mammal{ | |
void breath(){ | |
print('Breath in breat out'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################## | |
### instlar strapi | |
### > npm install -g strapi | |
### cria diretorio do projeto | |
### > md meuprojeto ou strapi (exemplo abaixo) | |
############################################## | |
C:\ | |
λ cd Users\Diego\Documents\projects\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XCOPY C:\Users\Diego\OneDrive\VS_Code\Confs\dart_syntaxe\dart.json C:\Users\Diego\.vscode\extensions\dart-code.dart-code-3.13.1\syntaxes /y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tipo = $args[0] | |
Write-Output $path; | |
Write-Output (Get-Item .).BaseName | |
Write-Output $PSScriptRoot | |
$local = Get-Location | |
# Get-History | Export-Csv $local\history.csv -IncludeTypeInformation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io'; | |
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
class HomePage extends StatefulWidget { | |
@override | |
_HomePageState createState() => _HomePageState(); | |
} | |
class _HomePageState extends State<HomePage> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp(MyApp()); | |
} | |
/// Represents some additional [Color]s to be used | |
/// across the application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
@immutable | |
class ClipShadowPath extends StatelessWidget { | |
final Shadow shadow; | |
final CustomClipper<Path> clipper; | |
final Widget child; | |
ClipShadowPath({ | |
@required this.shadow, |
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
OlderNewer