|
|
|
@ -65,7 +65,7 @@ class GetOutPatientStack extends StatelessWidget {
|
|
|
|
colors: <Color>[Color(0x8FF5F6FA), Colors.red[50]], // red to yellow
|
|
|
|
colors: <Color>[Color(0x8FF5F6FA), Colors.red[50]], // red to yellow
|
|
|
|
tileMode: TileMode.mirror, // repeats the gradient over the canvas
|
|
|
|
tileMode: TileMode.mirror, // repeats the gradient over the canvas
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
borderRadius: BorderRadius.circular(4),
|
|
|
|
// color: Colors.red[50],
|
|
|
|
// color: Colors.red[50],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Stack(children: [
|
|
|
|
child: Stack(children: [
|
|
|
|
@ -78,7 +78,7 @@ class GetOutPatientStack extends StatelessWidget {
|
|
|
|
padding: EdgeInsets.all(10),
|
|
|
|
padding: EdgeInsets.all(10),
|
|
|
|
height: max != 0 ? ((barHeight )* value.value) / max : 0,
|
|
|
|
height: max != 0 ? ((barHeight )* value.value) / max : 0,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
borderRadius: BorderRadius.circular(4),
|
|
|
|
color: Color(0x63D02127),
|
|
|
|
color: Color(0x63D02127),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -99,13 +99,15 @@ class GetOutPatientStack extends StatelessWidget {
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.5,
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.5,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|
|
|
letterSpacing: -0.3,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
AppText(
|
|
|
|
AppText(
|
|
|
|
' (' + value.value.toString() + ') ',
|
|
|
|
' (' + value.value.toString() + ') ',
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.5,
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.5,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
|
|
|
|
letterSpacing: -0.3,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|