resetComponentSpecificProperties method
Reset component-specific properties to defaults. Called by resetToDefaults() after resetting common properties.
Implementation
@override
void resetComponentSpecificProperties() {
soundName = 'Ocean Waves';
timerDisplay = '25:00';
status = 'Playing';
soundIcon = Icons.waves;
playPauseIcon = Icons.pause_circle_filled;
timerIcon = Icons.timer;
soundNameFontSize = 20.0;
timerFontSize = 36.0;
statusFontSize = 14.0;
iconSize = 48.0;
controlIconSize = 32.0;
// Reset Rest state colors
restSoundNameColorLight = const Color(0xFF1f2937);
restSoundNameColorDark = const Color(0xFFe5e7eb);
restTimerColorLight = const Color(0xFF111827);
restTimerColorDark = const Color(0xFFffffff);
restStatusColorLight = const Color(0xFF22c55e);
restStatusColorDark = const Color(0xFF4ade80);
restControlColorLight = const Color(0xFF3b82f6);
restControlColorDark = const Color(0xFF60a5fa);
// Reset Hover state colors
hoverSoundNameColorLight = const Color(0xFF111827);
hoverSoundNameColorDark = const Color(0xFFf3f4f6);
hoverTimerColorLight = const Color(0xFF0f172a);
hoverTimerColorDark = const Color(0xFFffffff);
hoverStatusColorLight = const Color(0xFF16a34a);
hoverStatusColorDark = const Color(0xFF86efac);
hoverControlColorLight = const Color(0xFF2563eb);
hoverControlColorDark = const Color(0xFF93c5fd);
// Reset Pressed state colors
pressedSoundNameColorLight = const Color(0xFF0f172a);
pressedSoundNameColorDark = const Color(0xFFd1d5db);
pressedTimerColorLight = const Color(0xFF0f172a);
pressedTimerColorDark = const Color(0xFFe5e7eb);
pressedStatusColorLight = const Color(0xFF15803d);
pressedStatusColorDark = const Color(0xFF4ade80);
pressedControlColorLight = const Color(0xFF1d4ed8);
pressedControlColorDark = const Color(0xFF60a5fa);
// Reset Disabled state colors
disabledSoundNameColorLight = const Color(0xFFd1d5db);
disabledSoundNameColorDark = const Color(0xFF4b5563);
disabledTimerColorLight = const Color(0xFF9ca3af);
disabledTimerColorDark = const Color(0xFF4b5563);
disabledStatusColorLight = const Color(0xFFd1d5db);
disabledStatusColorDark = const Color(0xFF374151);
disabledControlColorLight = const Color(0xFFbdbdbd);
disabledControlColorDark = const Color(0xFF757575);
}