Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The getter 'this' isn't defined for the class 'AnsiColor' #1

Closed
EdwynZN opened this issue Feb 23, 2023 · 1 comment
Closed

Comments

@EdwynZN
Copy link

EdwynZN commented Feb 23, 2023

return '$this$msg$ansiDefault';

Even if the lint says you shouldn't wrap a single word with {}, this cannot be interpolated without it

Dart SDK version: 2.18.6

Bump to use at least Dart SDK 2.19 in pubspec

@Bungeefan Bungeefan linked a pull request Feb 23, 2023 that will close this issue
@Bungeefan
Copy link
Member

Thanks for reporting this!
I guess it would be better to use ${this} again instead of bumping the min. SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants