https://dart.dev/guides/language/effective-dart/usage#avoid-using-curly-braces-in-interpolation-when-not-needed says to avoid using curly braces in interpolation when not needed. If you’re interpolating a simple identifier not immediately followed by more alphanumeric text, the {} should be omitted.
Is there a problem doing it aside from it being not necessary to do interpolation?
The guide says this is good:
'Hi, $name!'
"Wear your wildest $decade's outfit."
'Wear your wildest ${decade}s outfit.'
The guide says this is bad:
'Hi, ${name}!'
"Wear your wildest ${decade}'s outfit."