FittorCurrency class
UI utilities for currency conversion
Constructors
- FittorCurrency.new()
-
factory
Properties
- converter → CurrencyConverter
-
Direct access to the converter instance
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convertAndFormat(
{required String from, required String to, required double amount, int decimalPlaces = 2}) → Future< String> - Convert currency and format the result
-
currencyText(
String text, {TextStyle? style, TextAlign? textAlign, TextOverflow? overflow, int? maxLines}) → Widget - Get a text widget with formatted currency
-
formatCurrency(
double amount, String currencyCode, {int decimalPlaces = 2}) → String - Format currency amount with specified currency code Example: formatCurrency(1234.56, 'USD') returns "$1,234.56"
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited