lingua_number 0.0.4 lingua_number: ^0.0.4 copied to clipboard
Library for internal numbers localization.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lingua_number
With Flutter:
$ flutter pub add lingua_number
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
lingua_number: ^0.0.4
Alternatively, 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:lingua_number/generated/codegen_loader.g.dart';
import 'package:lingua_number/generated/locale_keys.g.dart';
import 'package:lingua_number/number.dart';