You're encountering this error because optional parameters in Dart must have constant default values. However, you're trying to set err dynamically using Get.context!.tr(StringConstants.validationError), which is evaluated at runtime and not a compile-time constant. You're encountering this error because optional parameters in Dart must have constant default values. However, you're trying to set err dynamically using Get.context!.tr(StringConstants.validationError), which is evaluated at runtime and not a compile-time constant. You're encountering this error because optional parameters in Dart must have constant default values. However, you're trying to set err dynamically using Get.context!.tr(StringConstants.validationError), which is evaluated at runtime and not a compile-time constant.
View Comments
Comments (Seller has received 0 Comments)