extendRegisteredMethodProp property
Implementation
@override
Map<String, ControllerMethodProp> get extendRegisteredMethodProp {
var extraMap = <String, ControllerMethodProp>{};
/// props
extraMap[NodeProps.kSrc] = ControllerMethodProp(setUrl, '');
extraMap[NodeProps.kSource] = ControllerMethodProp(setSource, null);
extraMap[NodeProps.kResizeMode] = ControllerMethodProp(setResizeMode, '');
extraMap[NodeProps.kCapInsets] = ControllerMethodProp(setCapInsets, null);
extraMap[NodeProps.kDefaultSource] = ControllerMethodProp(setDefaultSource, '');
extraMap[NodeProps.kTintColor] = ControllerMethodProp(setTintColor, Colors.transparent.value);
/// 2.0 bind events
extraMap[NodeProps.kOnLoad] = ControllerMethodProp(setOnLoad, true);
extraMap[NodeProps.kOnLoadStart] = ControllerMethodProp(setOnLoadStart, true);
extraMap[NodeProps.kOnLoadEnd] = ControllerMethodProp(setOnLoadEnd, true);
extraMap[NodeProps.kOnError] = ControllerMethodProp(setOnError, true);
extraMap[NodeProps.kOnProgress] = ControllerMethodProp(setOnProgress, true);
return extraMap;
}