|
|
|
|
@ -37,8 +37,15 @@ class GetOutPatientStack extends StatelessWidget {
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 2),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
begin: Alignment.topLeft,
|
|
|
|
|
end: Alignment(
|
|
|
|
|
0.0, 1.0), // 10% of the width, so there are ten blinds.
|
|
|
|
|
colors: <Color>[Color(0x8FF5F6FA), Colors.red[50]], // red to yellow
|
|
|
|
|
tileMode: TileMode.mirror, // repeats the gradient over the canvas
|
|
|
|
|
),
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
color: Colors.red[50],
|
|
|
|
|
// color: Colors.red[50],
|
|
|
|
|
),
|
|
|
|
|
child: Stack(children: [
|
|
|
|
|
Positioned(
|
|
|
|
|
@ -64,25 +71,25 @@ class GetOutPatientStack extends StatelessWidget {
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Align(
|
|
|
|
|
child: FittedBox(
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
value.kPIParameter,
|
|
|
|
|
fontSize: 10,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
' (' + value.value.toString() + ') ',
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
value.kPIParameter,
|
|
|
|
|
fontSize: 10,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
' (' + value.value.toString() + ') ',
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
color: Color(0xFF2B353E),
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
))
|
|
|
|
|
]),
|
|
|
|
|
|