resetToDefaults static method

void resetToDefaults()

Reset all settings to defaults.

Implementation

static void resetToDefaults() {
  enforceValidation = false;
  enableSecurityLogging = kDebugMode;
  maxInputLength = 10000;
  maxFontSize = 48.0;
  minFontSize = 8.0;
  maxBorderRadius = 100.0;
  maxBorderWidth = 10.0;
  maxContentPadding = 50.0;
  maxIconSize = 64.0;
  minIconSize = 12.0;
  maxMaxLines = 1000;
  maxMinLines = 100;
  maxLabelSpacing = 32.0;
  maxHeight = 500.0;
  minHeight = 30.0;
}