Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget _buildVote(Voti voto) {
- return AutoSizeText(
- '${voto.vote}',
- style: TextStyle(
- fontSize: 18.0,
- color: voto.value < 6.0 ? Colors.red[600] : null,
- fontWeight: FontWeight.w400),
- textAlign: TextAlign.center,
- maxLines: 1,
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement