Just updated my dependencies, but no intl updated, I'm using 0.18.1 version. And using currency_text_input_formatter: ^2.1.11
I get an error in this definition in VS Code:
final CurrencyTextInputFormatter _formatter = CurrencyTextInputFormatter(locale: 'es-ES', decimalDigits: Global.currency_num_dec, symbol: Global.currency_sym);
It says than locale, decimalDigits and symbol are not defined.
I have added to pubspec.yaml
dependency_overrides:
intl: 0.18.1
Error when running 'flutter pub upgrade --major-versions': Changed 4 constraints in pubspec.yaml: email_validator: ^2.1.17 -> ^3.0.0 flutter_stripe: ^10.1.1 -> ^11.0.0 flutter_widget_from_html_core: ^0.14.7 -> ^0.15.1 flutter_lints: ^3.0.1 -> ^4.0.0
Just updated my dependencies, but no intl updated, I'm using 0.18.1 version. And using currency_text_input_formatter: ^2.1.11
I get an error in this definition in VS Code: final CurrencyTextInputFormatter _formatter = CurrencyTextInputFormatter(locale: 'es-ES', decimalDigits: Global.currency_num_dec, symbol: Global.currency_sym);
It says than locale, decimalDigits and symbol are not defined.
I have added to pubspec.yaml dependency_overrides: intl: 0.18.1
But same error continues.