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 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 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 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 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 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 Container2 extends StatelessWidget { | |
const Container2({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
height: 70, | |
width: 90, | |
decoration: const BoxDecoration( | |
color: Color(0xFFF3F3F4), |
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 CardWidget extends StatelessWidget { | |
const CardWidget({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
margin: const EdgeInsets.only(bottom: 15), | |
height: 90, | |
width: 390, | |
decoration: const BoxDecoration( |
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, | |
required this.value, | |
required this.color, | |
required this.sizeIcon, | |
required this.sizeText}); | |
final double sizeIcon; | |
final double sizeText; |
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 ButtonRegister extends StatelessWidget { | |
const ButtonRegister({Key? key, required this.navigator, required this.text}) | |
: super(key: key); | |
final Widget navigator; | |
final String text; | |
@override | |
Widget build(BuildContext context) { | |
Size size = MediaQuery.of(context).size; |