Country Currency Chooser

Pub Version (including pre-releases) GitHub issues GitHub closed issues GitHub last commit GitHub code size in bytes

About

A simple yet powerful, elegant, customizable, and efficient currency chooser dialog with search support.

Description

A simple yet powerful, elegant, customizable, and efficient currency chooser dialog with search support. Selecting a currency in the dialog fires a callback which returns the country flag along with the currency code of the country.

Using

  • Simply import package: country_currency_chooser/country_currency_chooser.dart.

  • Use the built-in flutter showDialog() method and specify the return widget as CurrencyChooserDialog.

  • Selecting the currency on the CurrencyChooserDialog fires selectedCurrency(Widget flag, String currencyCode) callback.

Feedback

Kindly email me directly for any feedback and hit the like button.

Screenshots

Screenshot Screenshot

Supported Attributes

PropertyDescriptionDefault
selectedCurrencyCallback that provides flag and currencyCode of the currency selected-
showFlagsWhether to show flags in the country list or nottrue
showPullToStartFloatingButtonWhether to show pullToStartFloatingButton or nottrue
showListDividersWhether to show list dividers in the country list or nottrue
showCurrencyCodesWhether to show currency codes in the country list or nottrue
backgroundColorThe background color of the currency chooser dialogWhite
interfaceColorThe color to apply to the elements of the dialogBlack
borderColorThe color to apply to the border of the dialogWhite
pullToStartFloatingButtonColorColor to the apply to pullToStartFloatingButtonGreen
dialogAnimationEffectDialog pop-up and pop-out animationFastOutSlowIn
dialogAnimationDurationDuration of dialog pop-up and pop-out animation500 milliseconds
animationDisabledWhether to disable the dialog pop-up and pop-out animationfalse
flagDecorationDecoration to set for the flag if displayed.-
searchDisabledWhether the search box is disabledfalse
dialogStretchThe height of the dialogDialogStretch.min
pullToStartButtonPlacementWhere to place the pullToStartFloatingButtonButtonPlacement.bottom_right

Libraries

country_currency_chooser
main