1 wird immer als 1.00 angezeigt #55 #56
@@ -80,7 +80,7 @@ class StatisticsTile extends StatelessWidget {
|
|||||||
const Spacer(),
|
const Spacer(),
|
||||||
Center(
|
Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
values[index].$2 <= 1
|
values[index].$2 <= 1 && values[index].$2 is double
|
||||||
? values[index].$2.toStringAsFixed(2)
|
? values[index].$2.toStringAsFixed(2)
|
||||||
: values[index].$2.toString(),
|
: values[index].$2.toString(),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
|
|||||||
Reference in New Issue
Block a user