Severity: AnalysisErrorSeverity.WARNING
Maturity: stable
Since 1.0.0
This diagnostic detects syntax errors related to the parentheses around over_react builder cascades.
Well-formed:
@override
render() {
return (Dom.div()
..id = 'foo'
..className = 'foo--variant'
)(
'Hi there',
);
}
Syntax errors due to missing parentheses:
@override
render() {
return Dom.div()
..id = 'foo'
..className = 'foo--variant'
(
'Hi there',
);
}