Skip to content

Instantly share code, notes, and snippets.

@josue1dario2
Created December 25, 2022 21:04
Show Gist options
  • Save josue1dario2/864903e8d6a919230e1adc8810cdb7ec to your computer and use it in GitHub Desktop.
Save josue1dario2/864903e8d6a919230e1adc8810cdb7ec to your computer and use it in GitHub Desktop.
7 - Implement Progres
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')
],
)
],
),
],
),
),
);
}
}
@josue1dario2
Copy link
Author

percent_indicator: ^4.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment