roundPixelsOnly function Null safety

String roundPixelsOnly(
  1. double val
)

Round only pixel number without include the unity.

Implementation

String roundPixelsOnly(double val) {
  return '${truncate(val, 1)}';
}