flutter_money_formatter icon indicating copy to clipboard operation
flutter_money_formatter copied to clipboard

Update intl

Open marcosradix opened this issue 4 years ago • 17 comments

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

marcosradix avatar Jul 01 '20 13:07 marcosradix

+1

carlosfiori avatar Sep 08 '20 00:09 carlosfiori

+1

murilosamuel avatar Sep 12 '20 20:09 murilosamuel

+1

Tabarek avatar Sep 22 '20 07:09 Tabarek

+1

worldofsites avatar Sep 23 '20 04:09 worldofsites

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

fadhly-permata avatar Sep 23 '20 07:09 fadhly-permata

still don't have the update :)

mmuttaqin avatar Oct 10 '20 09:10 mmuttaqin

waiting for an update

sweetysmilez avatar Nov 06 '20 03:11 sweetysmilez

waiting for an update

pppshiwen avatar Nov 16 '20 03:11 pppshiwen

still don't have the update :)

carlosfiori avatar Dec 17 '20 14:12 carlosfiori

Any temporary fix?

Prn-Ice avatar Dec 23 '20 19:12 Prn-Ice

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

nfortiz avatar Feb 02 '21 14:02 nfortiz

Please update

Chappie74 avatar Feb 04 '21 06:02 Chappie74

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

worldofsites avatar Feb 04 '21 09:02 worldofsites

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

nfortiz avatar Feb 04 '21 12:02 nfortiz

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.

Chappie74 avatar Feb 05 '21 21:02 Chappie74

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 .
}

nfortiz avatar Feb 09 '21 15:02 nfortiz

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

tobyarevalo avatar Feb 17 '21 14:02 tobyarevalo