prefer_adjacent_string_concatenation

Group: style

Maturity: stable

Linter v0.1.30

Since info is static, may be stale
recommendedflutterpedantic

View all Lint Rules

Using the Linter

DO use adjacent strings to concatenate string literals.

BAD:

raiseAlarm(
    'ERROR: Parts of the spaceship are on fire. Other ' +
    'parts are overrun by martians. Unclear which are which.');

GOOD:

raiseAlarm(
    'ERROR: Parts of the spaceship are on fire. Other '
    'parts are overrun by martians. Unclear which are which.');