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

Update intl #29

Open
marcosradix opened this issue Jul 1, 2020 · 17 comments
Open

Update intl #29

marcosradix opened this issue Jul 1, 2020 · 17 comments

Comments

@marcosradix
Copy link

Please update the version of intl in pub to intl 0.16.1 or higher!

@carlosfiori
Copy link

+1

3 similar comments
@murilosamuel
Copy link

+1

@Tabarek
Copy link

Tabarek commented Sep 22, 2020

+1

@worldofsites
Copy link

+1

@fadhly-permata
Copy link
Owner

Hi, sorry for leaving this project for a long time. I will update this package next week.

@mmuttaqin
Copy link

still don't have the update :)

@sweetysmilez
Copy link

waiting for an update

1 similar comment
@pppshiwen
Copy link

waiting for an update

@carlosfiori
Copy link

still don't have the update :)

@Prn-Ice
Copy link

Prn-Ice commented Dec 23, 2020

Any temporary fix?

@nfortiz
Copy link

nfortiz commented Feb 2, 2021

2/02/2021 no updates
I have problems installing some firebase packages :c due to intl version.
Please update this awesome package!

@Chappie74
Copy link

Please update

@worldofsites
Copy link

my workaround:

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  flutter_money_formatter:
    git:
      url: git://github.com/anisalibegic/flutter_money_formatter.git

dependency_overrides:
  intl: ^0.17.0-nullsafety.2

@nfortiz
Copy link

nfortiz commented Feb 4, 2021

what if i fork the repo, or someone else, and publish the package with the updates?

@Chappie74
Copy link

Chappie74 commented Feb 5, 2021

what if i fork the repo, or someone else, and publish the package with the updates?

yes please do that. Leave the package name here.

@nfortiz
Copy link

nfortiz commented Feb 9, 2021

FYI I implement this functionality, because i just need one currency
I just removed the package from pubspec, and add intl: ^0.16.1
and wrote this code

import 'package:intl/intl.dart';

String formattMoney(double amount, { String symbol = '\$'}) {
  return NumberFormat
      .currency(symbol: symbol, locale: 'en_ES', decimalDigits: 0)
      .format(amount)
      .replaceAll(',', '.'); /// format split the number by , i just replaced with .
}

@tobyarevalo
Copy link

tobyarevalo commented Feb 17, 2021

I found this solution:
In pubspect.yaml aim directly to the GIT of the project, like this:

flutter_money_formatter: git: url: git://github.com/anisalibegic/flutter_money_formatter.git

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

No branches or pull requests