resetComponentSpecificProperties method
Reset component-specific properties to defaults. Called by resetToDefaults() after resetting common properties.
Implementation
@override
void resetComponentSpecificProperties() {
recipeName = 'Simple Chicken Soup';
currentStep = 2;
totalSteps = 5;
stepTitle = 'Add Vegetables';
stepInstruction = 'Add the chopped carrots, celery, and onions to the pot. Stir gently and let cook for 5 minutes.';
hasTimer = true;
timerDuration = '5:00';
timerIcon = Icons.timer;
navButtonSize = 48.0;
imageHeight = 120.0;
imageBorderRadius = 12.0;
recipeNameFontSize = 14.0;
stepTitleFontSize = 18.0;
stepInstructionFontSize = 15.0;
timerFontSize = 20.0;
stepIndicatorFontSize = 13.0;
stepTitleFontWeight = FontWeight.w600;
// Reset Rest state colors
restRecipeNameColorLight = const Color(0xFF6b7280);
restRecipeNameColorDark = const Color(0xFF9ca3af);
restStepTitleColorLight = const Color(0xFF1f2937);
restStepTitleColorDark = const Color(0xFFf3f4f6);
restInstructionColorLight = const Color(0xFF4b5563);
restInstructionColorDark = const Color(0xFFd1d5db);
restImageBgColorLight = const Color(0xFFd1d5db);
restImageBgColorDark = const Color(0xFF374151);
restTimerBgColorLight = const Color(0xFFfef3c7);
restTimerBgColorDark = const Color(0xFF78350f);
restTimerColorLight = const Color(0xFFb45309);
restTimerColorDark = const Color(0xFFfbbf24);
restTimerIconColorLight = const Color(0xFFf59e0b);
restTimerIconColorDark = const Color(0xFFfbbf24);
restNavButtonColorLight = const Color(0xFFe0e5ec);
restNavButtonColorDark = const Color(0xFF374151);
restNavIconColorLight = const Color(0xFF374151);
restNavIconColorDark = const Color(0xFFf3f4f6);
restStepIndicatorBgLight = const Color(0xFFf3f4f6);
restStepIndicatorBgDark = const Color(0xFF374151);
restStepIndicatorColorLight = const Color(0xFF6366f1);
restStepIndicatorColorDark = const Color(0xFF818cf8);
restDividerColorLight = const Color(0xFFd1d5db);
restDividerColorDark = const Color(0xFF4b5563);
// Reset Disabled state colors
disabledStepTitleColorLight = const Color(0xFF9ca3af);
disabledStepTitleColorDark = const Color(0xFF4b5563);
disabledInstructionColorLight = const Color(0xFFd1d5db);
disabledInstructionColorDark = const Color(0xFF4b5563);
disabledNavButtonColorLight = const Color(0xFFe5e7eb);
disabledNavButtonColorDark = const Color(0xFF374151);
}