money_to_text 1.0.2 money_to_text: ^1.0.2 copied to clipboard
It converts any double variable you send with this dart package to text as money
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add money_to_text
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
money_to_text: ^1.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:money_to_text/money_to_text.dart';