How to override a class without creating parent constructor?
Actually I'm overriding Widget and it works perfectly for 2.2.X versions but for 2.1.X versions it shows me an error Interceptor::escapeHtmlAttr
After searching this error I got that this is the version problem so some files are not available in 2.1.X versions so after that I want to override the class without parent constructor,
How can I do that???
escapeHtmlAttr
is introduced in magento 2.2.x so therefore it give error