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
main.dart | |
``` | |
import 'package:flutter/material.dart'; | |
import 'package:minhasegundavia2/database/app_database.dart'; | |
import 'package:minhasegundavia2/models/salva_cpfl.dart'; | |
import 'package:minhasegundavia2/screens/tela_inicial.dart'; | |
void main() { | |
runApp(MinhaSegundaViaApp()); |
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
min-height: 50%; | |
background-color: white; | |
background-image: linear-gradient(to right, black, #C00, black); |
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
div { | |
width: 100px; | |
height: 100px; | |
/* Para deixar o texto centralizado na div, | |
podemos colocar um line-height igual à altura | |
dela. Só funciona bem se o texto tiver uma | |
linha só. | |
*/ | |
line-height: 100px; | |
text-align: center; |
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
div { | |
width: 100px; | |
height: 100px; | |
/* Para deixar o texto centralizado na div, | |
podemos colocar um line-height igual à altura | |
dela. Só funciona bem se o texto tiver uma | |
linha só. | |
*/ | |
line-height: 100px; | |
text-align: center; |
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
div { | |
width: 100px; | |
height: 100px; | |
/* Para deixar o texto centralizado na div, | |
podemos colocar um line-height igual à altura | |
dela. Só funciona bem se o texto tiver uma | |
linha só. | |
*/ | |
line-height: 100px; | |
text-align: center; |