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 Container1 extends StatelessWidget { | |
const Container1({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return SizedBox( | |
height: 60, | |
width: 80, | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, |
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 CustomText extends StatelessWidget { | |
const CustomText( | |
{super.key, | |
required this.text, | |
required this.size, | |
required this.weight, | |
required this.color}); | |
final String text; | |
final double size; |
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: [ |
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, |
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 StatisticsText extends StatelessWidget { | |
const StatisticsText({super.key, required this.text}); | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
return Center( | |
child: Text( | |
text, |
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 Service { | |
final int value; | |
Service(this.value); | |
static bool isActive(value) { | |
if (value > 0) { | |
return true; | |
} | |
return false; |
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 PresenteeismIndicator extends StatefulWidget { | |
const PresenteeismIndicator({super.key}); | |
@override | |
State<PresenteeismIndicator> createState() => _PresenteeismIndicatorState(); | |
} | |
class _PresenteeismIndicatorState extends State<PresenteeismIndicator> { | |
@override | |
Widget build(BuildContext context) { |
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 CustomTextStyle { | |
static const TextStyle percentSubtitle = TextStyle( | |
fontWeight: FontWeight.w400, | |
fontSize: 13, | |
color: Color(0xFFFFFFFF), | |
fontFamily: 'Poppins'); | |
static const TextStyle percentTitle = TextStyle( | |
fontSize: 25, | |
color: Colors.white, | |
fontWeight: FontWeight.w800, |
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 ActiveIndicator extends StatelessWidget { | |
const ActiveIndicator({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
int value = 202; | |
return Center( | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ |
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 TextSubtitle extends StatelessWidget { | |
const TextSubtitle({Key? key, required this.text}) : super(key: key); | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
return Text( | |
text, | |
style: const TextStyle( |