Skip to content

Commit

Permalink
alteradoDados
Browse files Browse the repository at this point in the history
  • Loading branch information
roneylf committed Jan 26, 2022
1 parent ccff9e8 commit ad21c80
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 5 deletions.
Binary file added assets/images/dado1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dado2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dado3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dado4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dado5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dado6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions lib/componentes/painelDados.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ class PainelDados extends StatelessWidget {
return Container();
}
return Center(
child: Text(CobraEscadas.dados.valueDado1.toString(),
style: TextStyle(fontSize: 20)),
child: Image.asset(
'assets/images/dado${CobraEscadas.dados.valueDado1}.png',
width: size * 0.18,
height: size * 0.18,
),
);
}),
),
Expand Down Expand Up @@ -68,9 +71,10 @@ class PainelDados extends StatelessWidget {
return Container();
}
return Center(
child: Text(
CobraEscadas.dados.valueDado2.toString(),
style: TextStyle(fontSize: 20),
child: Image.asset(
'assets/images/dado${CobraEscadas.dados.valueDado2}.png',
width: size * 0.18,
height: size * 0.18,
),
);
}),
Expand Down
6 changes: 6 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ flutter:
- assets/images/avatar2.png
- assets/animations/monster.riv
- assets/animations/cobraeescadas.riv
- assets/images/dado1.png
- assets/images/dado2.png
- assets/images/dado3.png
- assets/images/dado4.png
- assets/images/dado5.png
- assets/images/dado6.png

# - images/a_dot_ham.jpeg

Expand Down

0 comments on commit ad21c80

Please sign in to comment.