Skip to content

Commit

Permalink
V2.0.21
Browse files Browse the repository at this point in the history
Merge pull request #97 from Daniel-Ioannou/v2.0.21
close  #96 close  #95
  • Loading branch information
Daniel-Ioannou authored Feb 29, 2024
2 parents 1235e16 + abfe5da commit 68f6699
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 40 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.0.21
* Add more currencies:
- Angolan Kwanza
- Cuban Peso
- Tongan Pa'anga
- Malagasy Ariary
- Lebanese Pound

## 2.0.20
* Trim search query

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A flutter package to select a currency from a list of currencies.
Add the package to your pubspec.yaml:

```yaml
currency_picker: ^2.0.20
currency_picker: ^2.0.21
```
In your dart file, import the library:
Expand Down
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A flutter package to select a currency from a list of currencies.
Add the package to your pubspec.yaml:

```yaml
currency_picker: ^2.0.20
currency_picker: ^2.0.21
```
In your dart file, import the library:
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.currencyPicker.example"
minSdkVersion 16
minSdkVersion flutter.minSdkVersion
targetSdkVersion 32
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
28 changes: 14 additions & 14 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
currency_picker:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "2.0.20"
version: "2.0.21"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -86,10 +86,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
path:
dependency: transitive
description:
Expand All @@ -115,18 +115,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -147,10 +147,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
vector_math:
dependency: transitive
description:
Expand All @@ -163,9 +163,9 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
sdks:
dart: ">=3.1.0-185.0.dev <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
83 changes: 74 additions & 9 deletions lib/src/currencies.dart
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,19 @@ List<Map<String, dynamic>> currencies = [
"space_between_amount_and_symbol": false,
"symbol_on_left": false,
},
{
"code": "AOA",
"name": "Angolan Kwanza",
"symbol": "Kz",
"flag": "AO",
"decimal_digits": 2,
"number": 973,
"name_plural": "Angolan kwanzas",
"thousands_separator": ",",
"decimal_separator": ".",
"space_between_amount_and_symbol": true,
"symbol_on_left": true
},
{
"code": "ARS",
"name": "Argentine Peso",
Expand Down Expand Up @@ -780,6 +793,19 @@ List<Map<String, dynamic>> currencies = [
"space_between_amount_and_symbol": false,
"symbol_on_left": true,
},
{
"code": "CUP",
"name": "Cuban Peso",
"symbol": "\$MN",
"flag": "CU",
"decimal_digits": 2,
"number": 192,
"name_plural": "Cuban pesos",
"thousands_separator": ",",
"decimal_separator": ".",
"space_between_amount_and_symbol": true,
"symbol_on_left": true
},
{
"code": "DOP",
"name": "Dominican Republic Peso",
Expand Down Expand Up @@ -1014,6 +1040,19 @@ List<Map<String, dynamic>> currencies = [
"space_between_amount_and_symbol": false,
"symbol_on_left": false,
},
{
"code": "LBP",
"name": "Lebanese Pound",
"symbol": "ل.ل",
"flag": "LB",
"decimal_digits": 2,
"number": 422,
"name_plural": "Lebanese pounds",
"thousands_separator": ",",
"decimal_separator": ".",
"space_between_amount_and_symbol": true,
"symbol_on_left": true
},
{
"code": "LRD",
"name": "Liberia Dollar",
Expand Down Expand Up @@ -1041,17 +1080,17 @@ List<Map<String, dynamic>> currencies = [
"symbol_on_left": false,
},
{
"code": "MVR",
"name": "Maldivian Rufiyaa",
"symbol": "/-",
"flag": "MV",
"decimal_digits": 2,
"number": 462,
"name_plural": "Maldivian Rufiyaa",
"thousands_separator": ",",
"code": "MGA",
"name": "Malagasy Ariary",
"symbol": "Ar",
"flag": "MG",
"decimal_digits": 0,
"number": 969,
"name_plural": "Malagasy ariaries",
"thousands_separator": " ",
"decimal_separator": ".",
"space_between_amount_and_symbol": false,
"symbol_on_left": false,
"symbol_on_left": true
},
{
"code": "MWK",
Expand All @@ -1066,6 +1105,19 @@ List<Map<String, dynamic>> currencies = [
"space_between_amount_and_symbol": false,
"symbol_on_left": true,
},
{
"code": "MVR",
"name": "Maldivian Rufiyaa",
"symbol": "/-",
"flag": "MV",
"decimal_digits": 2,
"number": 462,
"name_plural": "Maldivian Rufiyaa",
"thousands_separator": ",",
"decimal_separator": ".",
"space_between_amount_and_symbol": false,
"symbol_on_left": false,
},
{
"code": "MUR",
"name": "Mauritius Rupee",
Expand Down Expand Up @@ -1378,6 +1430,19 @@ List<Map<String, dynamic>> currencies = [
"space_between_amount_and_symbol": false,
"symbol_on_left": true,
},
{
"code": "TOP",
"name": "Tongan Pa'anga",
"symbol": "T\$",
"flag": "TO",
"decimal_digits": 2,
"number": 776,
"name_plural": "Tongan pa'angas",
"thousands_separator": ",",
"decimal_separator": ".",
"space_between_amount_and_symbol": true,
"symbol_on_left": true
},
{
"code": "TTD",
"name": "Trinidad and Tobago Dollar",
Expand Down
26 changes: 13 additions & 13 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: "direct main"
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -87,10 +87,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
path:
dependency: transitive
description:
Expand All @@ -116,18 +116,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -148,10 +148,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
vector_math:
dependency: transitive
description:
Expand All @@ -164,9 +164,9 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
sdks:
dart: ">=3.1.0 <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A flutter package to select a currency from a list of currencies.
homepage: https://github.com/Daniel-Ioannou
repository: https://github.com/Daniel-Ioannou/flutter_currency_picker

version: 2.0.20
version: 2.0.21

environment:
sdk: '>=2.12.0 <4.0.0'
Expand Down

0 comments on commit 68f6699

Please sign in to comment.