getComponentSpecificModifiedProperties method

  1. @override
Set<String> getComponentSpecificModifiedProperties()
override

Get set of component-specific modified properties. Called by getModifiedProperties() to include custom property tracking.

Implementation

@override
Set<String> getComponentSpecificModifiedProperties() {
  final modified = <String>{};

  // Check toggle-specific modifications
  if (knobSize != 28.0) modified.add('knobSize');
  if (isOn) modified.add('isOn');
  if (borderRadius != 18.0) modified.add('borderRadius');

  return modified;
}