resetComponentSpecificProperties method
Reset component-specific properties to defaults. Called by resetToDefaults() after resetting common properties.
Implementation
@override
void resetComponentSpecificProperties() {
width = 280.0;
height = 56.0;
paddingH = 16.0;
paddingV = 12.0;
borderRadius = RadiusTokens.md;
labelText = 'Label';
hintText = 'Enter text...';
placeholderText = 'Placeholder';
textSize = 16.0;
labelSize = 14.0;
fontWeight = FontWeight.w400;
prefixIcon = null;
suffixIcon = null;
iconSize = 20.0;
// Reset label/hint colors
restLabelColorLight = const Color(0xFF6b7280);
restLabelColorDark = const Color(0xFF9ca3af);
restHintColorLight = const Color(0xFF9ca3af);
restHintColorDark = const Color(0xFF6b7280);
hoverLabelColorLight = const Color(0xFF4b5563);
hoverLabelColorDark = const Color(0xFFd1d5db);
hoverHintColorLight = const Color(0xFF9ca3af);
hoverHintColorDark = const Color(0xFF6b7280);
pressedLabelColorLight = const Color(0xFF3b82f6);
pressedLabelColorDark = const Color(0xFF60a5fa);
pressedHintColorLight = const Color(0xFF9ca3af);
pressedHintColorDark = const Color(0xFF6b7280);
disabledLabelColorLight = const Color(0xFF9ca3af);
disabledLabelColorDark = const Color(0xFF6b7280);
disabledHintColorLight = const Color(0xFFd1d5db);
disabledHintColorDark = const Color(0xFF4b5563);
}