Created
December 25, 2022 21:04
-
-
Save josue1dario2/864903e8d6a919230e1adc8810cdb7ec to your computer and use it in GitHub Desktop.
7 - Implement Progres
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 Progres extends StatelessWidget { | |
const Progres({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
backgroundColor: const Color(0xFF482F74), | |
body: Center( | |
child: Column( | |
children: [ | |
const SizedBox( | |
height: 200, | |
), | |
Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
crossAxisAlignment: CrossAxisAlignment.center, | |
children: [ | |
Column( | |
children: const [ | |
ActiveIndicator(), | |
StatisticsText(text: 'Activos ahora') | |
], | |
), | |
const SizedBox( | |
width: 30, | |
), | |
Column( | |
children: const [ | |
TotalIndicator(), | |
StatisticsText(text: 'Total acumulado') | |
], | |
), | |
const SizedBox( | |
width: 30, | |
), | |
Column( | |
children: const [ | |
PresenteeismIndicator(), | |
StatisticsText(text: 'Presentismo') | |
], | |
) | |
], | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
percent_indicator: ^4.0.1