uae_gold_calculator 1.0.0
uae_gold_calculator: ^1.0.0 copied to clipboard
Gold value calculator for the UAE. Karat prices per gram, tola and ounce, making charges, 5% VAT and zakat (85 g nisab). Arabic + English CLI.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate uae_gold_calculatorUse it
The package has the following executables:
$ uae_gold_calculator
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add uae_gold_calculatorWith Flutter:
$ flutter pub add uae_gold_calculatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
uae_gold_calculator: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:uae_gold_calculator/uae_gold_calculator.dart';