TeofiloAlbuquerque / challenge01_flutter_bootcamp_dio_pro

Desafio 01 flutter bootcamp plataforma Dio.me Pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

challenge01_flutter_bootcamp_dio_pro

Desafio 01 flutter bootcamp, plataforma Dio.me Pro

Para este desafio, foi utilizado o aplicativo padrão que é criado ao iniciar um novo projeto Flutter. Nele foram feitas as seguintes alterações:

  1. Foi definida uma função para diminuir o valor exibido no centro do aplicativo.
  2. Outro FloatingActionButton foi adicionado para que o usuário possa decrementar o valor no centro.
  3. Lógica implementada para alterar a cor do número no centro com base em seu valor:
  • positivo (cor azul),
  • negativo (cor vermelha),
  • neutro (cor preta padrão).
  1. A cor do botão de incremento foi alterada para azul e do botão de decremento para vermelho, tornando mais intuitivo entender qual botão leva a uma determinada cor no valor central.
  2. A AppBar e o texto no centro do aplicativo foram atualizados.

Challenge 01 Flutter Bootcamp, Platform Dio.me Pro

For this challenge, the default application that is created when starting a new Flutter project was used. The following changes were made to it:

  1. A function was defined to decrease the value displayed in the center of the application.
  2. Another FloatingActionButton was added so that the user can decrement the value in the center.
  3. Implemented logic to change the color of the number in the center based on its value:
  • positive (blue color),
  • negative (red color),
  • neutral (default black color).
  1. The color of the increment button was changed to blue and the decrement button to red, making it more intuitive to understand which button leads to a certain color in the center value.
  2. The AppBar and the text in the center of the application were updated.

About

Desafio 01 flutter bootcamp plataforma Dio.me Pro

License:MIT License


Languages

Language:Dart 86.5%Language:Swift 9.1%Language:Kotlin 3.6%Language:Objective-C 0.9%