resetComponentSpecificProperties method
Reset component-specific properties to defaults. Called by resetToDefaults() after resetting common properties.
Implementation
@override
void resetComponentSpecificProperties() {
videoBorderRadius = 12.0;
videoHeight = 160.0;
exerciseTitle = 'Chair Yoga - Day 1';
instructorName = 'Dr. Sarah';
duration = '12:45';
currentTime = '4:27';
totalTime = '12:45';
progressBarHeight = 6.0;
progressValue = 0.35;
playButtonSize = 56.0;
controlButtonSize = 40.0;
controlIconSize = 24.0;
titleFontSize = 16.0;
subtitleFontSize = 13.0;
timeFontSize = 12.0;
titleFontWeight = FontWeight.w600;
// Reset Rest state colors (Light)
restVideoBgColorLight = const Color(0xFF1f2937);
restTitleColorLight = const Color(0xFF1f2937);
restSubtitleColorLight = const Color(0xFF6b7280);
restPlayButtonColorLight = const Color(0xFF6366f1);
restPlayIconColorLight = const Color(0xFFffffff);
restControlButtonColorLight = const Color(0xFFe0e5ec);
restControlIconColorLight = const Color(0xFF6366f1);
restProgressBgColorLight = const Color(0xFFd1d5db);
restProgressFillColorLight = const Color(0xFF6366f1);
restTimeColorLight = const Color(0xFF6b7280);
// Reset Rest state colors (Dark)
restVideoBgColorDark = const Color(0xFF111827);
restTitleColorDark = const Color(0xFFf3f4f6);
restSubtitleColorDark = const Color(0xFF9ca3af);
restPlayButtonColorDark = const Color(0xFF818cf8);
restPlayIconColorDark = const Color(0xFF1f2937);
restControlButtonColorDark = const Color(0xFF374151);
restControlIconColorDark = const Color(0xFF818cf8);
restProgressBgColorDark = const Color(0xFF4b5563);
restProgressFillColorDark = const Color(0xFF818cf8);
restTimeColorDark = const Color(0xFF9ca3af);
// Reset Disabled state colors (Light)
disabledVideoBgColorLight = const Color(0xFF374151);
disabledTitleColorLight = const Color(0xFF9ca3af);
disabledPlayButtonColorLight = const Color(0xFFd1d5db);
disabledProgressFillColorLight = const Color(0xFFd1d5db);
// Reset Disabled state colors (Dark)
disabledVideoBgColorDark = const Color(0xFF1f2937);
disabledTitleColorDark = const Color(0xFF4b5563);
disabledPlayButtonColorDark = const Color(0xFF374151);
disabledProgressFillColorDark = const Color(0xFF374151);
}