搜索插件、代码仓与 APP 分类

插件详情v1.0.10

live_currency_rate

连接到 Skysol 服务器和实时货币汇率变化的包。用于获取货币汇率或在不同货币之间进行转换。

AndroidiOSmacOSWindowsLinux
近 30 天下载
395
喜欢数
26
Pub 分数
140

安装插件

flutter pub add live_currency_rate

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

live_currency_rate 包连接到 Skysol 服务器,以提供实时货币汇率。它使用户能够无缝获取当前汇率或在不同货币之间进行金额转换。该包专为开发金融或旅行相关应用的开发者设计,支持 Android、iOS、macOS、Windows 和 Linux 等多个平台。该包简化了与实时数据的集成,确保汇率更新及时,无需手动管理汇率。

适合场景

  • 实时货币转换
  • 差旅费用计算器
  • 财务跟踪应用
  • 多货币电子商务定价
  • 全球应用中的货币显示

主要特点

  • 来自 Skysol Server 的实时汇率更新
  • 双向货币转换
  • 跨平台支持
  • 用于获取汇率的简单 API
  • 自动速率同步

适合对象

  • 移动和桌面金融应用
  • 全球电子商务平台
  • 旅行和预算工具
  • 需要实时交换数据的应用程序
  • 在多个平台上使用 Flutter 的开发者

使用建议

  • 需要互联网连接以获取实时数据
  • 取决于 Skysol Server 的可用性
  • 速率更新可能因服务器响应时间而异
  • 仅限Skysol Server支持的货币
  • 未包含离线费率缓存

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

This package is used to convert amount of currency from one currency exchange to another.

You will get live currency Exchange rates.

Pub Dev Website

https://pub.dev/packages/live_currency_rate

Gallery

image

Features

  • Get Live Currency Exchange Rates
  • Exchange currency ammount from one to another.
  • Used to convert In-App-Purchase currency to Defualt currency for Admin Dashboard.

Getting started

Just copy this library to your file

import 'package:live_currency_rate/live_currency_rate.dart';

and then Run the following code

Usage

 CurrencyRate rate = await LiveCurrencyRate.convertCurrency("USD", "AED", 500);
 print(rate.result);

Additional information

We use https so that it may take some while. Try using the Async function to get rates

Available on

  • iOS : ✅
  • Android : ✅
  • Web : ✅
  • Windows : ✅
  • Linux : ✅
  • macOS : ✅

You can use all the currency Codes such as :

  • AED

  • PKR

  • INR

  • USD

  • And many others

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。