A member named 'tr' is defined in extensions
https://dart.dev/tools/diagnostic-messages#ambiguous_extension_member_access
A member named 'tr' is defined in extensions 'StringTranslateExtension' and 'Trans', and none are more specific. (Documentation)
I think it conflict with get x package
Yep, i had the same issue. Fixed with this code. Basically, you need to hide the Trans extension in GetX
import 'package:get/get.dart' hide Trans;
@weichaist You saved my life. Greatly appreciate.
it doesn't work to me :(
@weichaist you just saved the day!! @umitmutluu did you try with "your text".tr()? & import 'package:easy_localization/easy_localization.dart';?
it doesn't work to me :(
if you imported 'package:get/get.dart' hide Trans; & 'package:get/get.dart'; together its not working. Try with only
import 'package:get/get.dart' hide Trans;
Yep, I had the same issue. Fixed with this code. Basically, you need to hide the Trans extension in GetX
import 'package:get/get.dart' hide Trans;
really appreciated
Still not working in any sence
use import 'package:easy_localization/easy_localization.dart' hide StringTranslateExtension;
solved by @weichaist