unnecessary_string_interpolations

Group: style

Maturity: stable

Linter v0.1.110

Since info is static, may be stale
recommendedflutter

View all Lint Rules

Using the Linter

Don't use string interpolation if there's only a string expression in it.

BAD:

String message;
String o = '$message';

GOOD:

String message;
String o = message;