It works, then I have to remove the const before Text(since it's an error now), then, the lightbulb of Code Actions stop working, I have to reload window to make it work, that would happen a lot since there are many same code there.
Any ideas?
BTW, after I did it, I hope all such code(title: const Text("Tip") of AlertDialog) being replaced by "title: Text(S.of(context).tip)", but that don't happen, only the one I do "extract to ARB" does
Hi,
I was trying to "extract to ARB" on "Tip" inside below code:
return AlertDialog( title: const Text("Tip"), ... }
It works, then I have to remove the const before Text(since it's an error now), then, the lightbulb of Code Actions stop working, I have to reload window to make it work, that would happen a lot since there are many same code there.
Any ideas?
BTW, after I did it, I hope all such code(title: const Text("Tip") of AlertDialog) being replaced by "title: Text(S.of(context).tip)", but that don't happen, only the one I do "extract to ARB" does