|
|
|
|
@ -86,7 +86,7 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
title: TranslationBase.of(context).criticalLow,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 2,
|
|
|
|
|
),
|
|
|
|
|
_buildResultBar(
|
|
|
|
|
key: l,
|
|
|
|
|
@ -95,7 +95,7 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
title: TranslationBase.of(context).low,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 2,
|
|
|
|
|
),
|
|
|
|
|
_buildResultBar(
|
|
|
|
|
key: n,
|
|
|
|
|
@ -104,7 +104,7 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
title: TranslationBase.of(context).normal,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 2,
|
|
|
|
|
),
|
|
|
|
|
_buildResultBar(
|
|
|
|
|
key: h,
|
|
|
|
|
@ -113,7 +113,7 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
title: TranslationBase.of(context).high,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 2,
|
|
|
|
|
),
|
|
|
|
|
_buildResultBar(
|
|
|
|
|
key: ch,
|
|
|
|
|
@ -132,7 +132,7 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
TextCloud(
|
|
|
|
|
text: "${value}",
|
|
|
|
|
color: getColorForResultType(type),
|
|
|
|
|
width: 60,
|
|
|
|
|
width: 100,
|
|
|
|
|
height: 20,
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
axisDirection: AxisDirection.up,
|
|
|
|
|
@ -176,11 +176,11 @@ class CustomResultProgressBar extends StatelessWidget {
|
|
|
|
|
Text(
|
|
|
|
|
title,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 10,
|
|
|
|
|
fontSize: 8,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
letterSpacing: -0.24,
|
|
|
|
|
letterSpacing: -0.3,
|
|
|
|
|
color: color,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
|
),
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
),
|
|
|
|
|
@ -234,8 +234,7 @@ class TextCloud extends StatelessWidget {
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white, fontSize: 10, letterSpacing: -.24),
|
|
|
|
|
style: TextStyle(color: Colors.white, fontSize: 9, letterSpacing: -.3),
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
Builder(builder: (context) {
|
|
|
|
|
|