init static method

void init(
  1. ScreenConfiguration configuration
)

Publishes the fallback snapshot (no-op when equal to the current one).

Implementation

static void init(ScreenConfiguration configuration) {
  final m = DimenMetrics.from(configuration);
  if (_fallback != m) {
    _fallback = m;
    notifyResetListeners();
  }
}