f method

String f(
  1. int w, [
  2. int d = 0
])

Implementation

String f(int w, [int d = 0]) => toStringAsFixed(d).padLeft(w).w(w);