pecahan_rupiah 0.0.1 copy "pecahan_rupiah: ^0.0.1" to clipboard
pecahan_rupiah: ^0.0.1 copied to clipboard

simple way to convert number to rupiah.

pecahan_rupiah #

simple way convert number tu rupiah

Getting Started #

import :

import 'package:pecahan_rupiah/pecahan_rupiah.dart';

use

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: MaterialApp(
        home: Scaffold(
          body: SafeArea(
            child: Column(
              children: [
                Text(Pecahan.rupiah(value: 2000000)), // without Rp prefix
                Text(Pecahan.rupiah(value: 2000000, withRp: true)) // with Rp prefix : Rp 200.000
              ],
            ),
          ),
        ),
      ),
    );
  }
}

malikkurosaki kurosakiblackangel@gmail.com

3
likes
30
pub points
76%
popularity

Publisher

unverified uploader

simple way to convert number to rupiah.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on pecahan_rupiah