You should use the late static binding to reference constants.
I would extend the class `ProgressBar` to set my preferred formats.