Severity: AnalysisErrorSeverity.WARNING
Maturity: stable
Since 1.0.0
PREFER to use addUnconsumedDomProps
instead of addUnconsumedProps
on Dom builders.
GOOD:
@override
render() {
return (Dom.div()
..modifyProps(addUnconsumedDomProps)
..id = 'foo'
)(props.children);
}
BAD:
@override
render() {
return (Dom.div()
..modifyProps(addUnconsumedProps)
..id = 'foo'
)(props.children);
}