applyInternal method
bool
applyInternal(
- String applyType,
- AFWidgetSelector selector,
- Element elem,
- dynamic data,
override
Implementations should override this method, and return false if they fail.
Implementation
@override
bool applyInternal(String applyType, AFWidgetSelector selector, Element elem, dynamic data) {
final widget = elem.widget;
if(widget is Slider && data is double) {
widget.onChanged?.call(data);
return true;
}
return false;
}