hwSizeLiteral function
size as a literal both platforms read as a number, without the trailing
.0 a whole Dart double stringifies with.
Implementation
String hwSizeLiteral(double size) =>
size == size.toInt() ? size.toInt().toString() : size.toString();