live_currency_rate
1.0.10, released 6 months ago by softasium.com
Fetch live currency exchange rates and convert amounts between currencies.
What it does
The package contacts a Skysol server to obtain current exchange rates. It provides a simple function to convert an amount from one currency to another using those live rates.
AI-written summary of version 1.0.10, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need up‑to‑date currency conversion in a Flutter app
- You want a minimal, cross‑platform solution without extra boilerplate
Skip it when
- You require offline or cached rates
- You need extensive currency metadata or historical data
- You need a highly configurable HTTP client
Strengths
- Very simple API – one async call does the conversion
- Works on all major Flutter platforms (iOS, Android, Web, desktop)
- No code generation or additional setup required
Weaknesses
- Relies on a single external server – no fallback or caching
- Limited error handling and customization
- Only provides conversion, not full currency data
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:live_currency_rate/live_currency_rate.dart';
Future<void> main() async {
CurrencyRate rate = await LiveCurrencyRate.convertCurrency('USD', 'AED', 500);
print(rate.result);
}Alternatives
Packages that do the same job and could replace live_currency_rate.