indonesia 1.0.1

Dart native js
Flutter Android iOS web

A starting point for Dart libraries or applications.

example/indonesia_example.dart

import 'package:indonesia/indonesia.dart';

main() {
  // Currency
  rupiah(123456789); // Rp 123.456.789
  rupiah(
    123456789,
    separator: ',',
    trailing: '.00'
  ); // Rp 123,456,789.00

  // Date
  DateTime date = DateTime.now();
  tanggal(date); // 12 April 1996
  tanggal(date, shortMonth: true); // 12 Apr 1996
}
4
likes
85
pub points
82%
popularity

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

yudapramad@gmail.com

License

unknown (LICENSE)

More

Packages that depend on indonesia