apply method
This applies data to a widget, usually by calling a method that is part of the widget
Implementation
void apply(String applyType, AFWidgetSelector selector, Element elem, dynamic data) {
if(!applyInternal(applyType, selector, elem, data)) {
throw AFException("Failed to apply $applyType to selector $selector");
}
}