resetComponentSpecificProperties method

  1. @override
void resetComponentSpecificProperties()
override

Reset component-specific properties to defaults. Called by resetToDefaults() after resetting common properties.

Implementation

@override
void resetComponentSpecificProperties() {
  size = 80.0;
  initials = 'JD';
  fontSize = 28.0;
  fontWeight = FontWeight.bold;
  isCircle = true;
  showInnerBorder = false;
  innerBorderWidth = 2.0;
  innerBorderColorLight = const Color(0xFFffffff);
  innerBorderColorDark = const Color(0xFF4b5563);
  borderRadius = RadiusTokens.md;

  // Reset background colors
  restBackgroundColorLight = const Color(0xFF60a5fa);
  restBackgroundColorDark = const Color(0xFF3b82f6);
  disabledBackgroundColorLight = const Color(0xFFd1d5db);
  disabledBackgroundColorDark = const Color(0xFF4b5563);
}