This file contains hidden or 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
<ion-header> | |
<ion-toolbar color="primary" class="header"> | |
<ion-thumbnail class="picture"><img src="https://lh5.googleusercontent.com/-N8HUIRLHmcE/AAAAAAAAAAI/AAAAAAAAAnQ/TTC_nt5UYvw/photo.jpg"></ion-thumbnail> | |
<ion-title>Fausto Blanco</ion-title> | |
<ion-label>[email protected]</ion-label> | |
<ion-button color="secondary" routerLink="/profile"> | |
Editar Perfil | |
<ion-icon slot="end" name="create"></ion-icon> | |
</ion-button> | |
</ion-toolbar> |
This file contains hidden or 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 requests | |
import json | |
class Gateway: | |
""" | |
Oldflix Integration | |
Christian David <[email protected]> | |
""" |
This file contains hidden or 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
{ | |
"useCript": false | |
} |
This file contains hidden or 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
extension TextExtension on Text { | |
Text h1({TextStyle style}) { | |
TextStyle defaultStyle = TextStyle( | |
fontFamily: 'Nunito_Sans', | |
fontSize: 36, | |
fontWeight: FontWeight.w900, | |
fontStyle: FontStyle.normal, | |
letterSpacing: -0.02, | |
color: SoulphiaTheme.defaultGraySwatch[50], | |
); |
This file contains hidden or 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'; | |
class NameInitialsWidget extends StatelessWidget { | |
final double width; | |
final double height; | |
final String text; | |
final double fontSize; | |
final double margin; | |
const NameInitialsWidget( |
This file contains hidden or 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
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:flutter/foundation.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { |
This file contains hidden or 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() { | |
print('Orange(0xFFEFB52D): ${0xFFEFB52D}'); | |
print('Green(0xFF23C653): ${0xFF23C653}'); | |
} |
This file contains hidden or 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() { | |
List<String> contatos = ['Fausto Blanco Diniz', 'Juselania Silva', 'Angela Maria', 'Ana', '']; | |
contatos = contatos.map( | |
(contato){ | |
String a = contato.split(' ').where((e) => e.isNotEmpty).toList().map( | |
(c) => c.substring(0,1) | |
).join(''); | |
// print(a); | |
if (a.isEmpty || a == '' || a.length == 1) { | |
return a; |
This file contains hidden or 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 { Injectable, Inject } from '@angular/core'; | |
import { DOCUMENT } from '@angular/common'; | |
import { DomController } from '@ionic/angular'; | |
import { environment } from '../../environments/environment'; | |
interface Theme { | |
name: string; | |
styles: ThemeStyle[]; | |
} |
OlderNewer