Created
December 25, 2022 21:03
-
-
Save josue1dario2/c5ae6f3b54a025496986014d6a257610 to your computer and use it in GitHub Desktop.
6 - TotalIndicator
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
class TotalIndicator extends StatelessWidget { | |
const TotalIndicator({ | |
super.key, | |
}); | |
@override | |
Widget build(BuildContext context) { | |
return Center( | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
const Image(width: 20, image: AssetImage('assets/img/total.png')), | |
const SizedBox( | |
width: 6, | |
), | |
Text( | |
Service.text(379), | |
style: CustomTextStyle.percentTitle, | |
), | |
Text('/${Service.text(410)}', | |
style: const TextStyle( | |
fontSize: 10, | |
color: Colors.white, | |
fontWeight: FontWeight.w800, | |
fontFamily: 'Poppins')) | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment