registerReferenceWidth static method

void registerReferenceWidth(
  1. double width
)

Registers a custom reference width to be used for scaling calculations.

Implementation

static void registerReferenceWidth(double width) {
  _referenceWidth = width;
}