Converts the initial pixel size to pixels based on the device type.
Example:
double result = sizeConfig.px(initialSize);
double px(double? initialSize, [bool any = true]) { return value(initialSize, any); }