indian_currency_to_word 0.0.5 copy "indian_currency_to_word: ^0.0.5" to clipboard
indian_currency_to_word: ^0.0.5 copied to clipboard

A Flutter package for both iOS and Android that converts a given amount to word in Indian Locale.

example/example.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import "package:indian_currency_to_word/indian_currency_to_word.dart";

class NoToWord extends StatelessWidget {
  final converter = AmountToWords();
  var number = 999999999.10;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Number to Word'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Text(
              'Number: $number',
              style: const TextStyle(fontSize: 20),
            ),
            const SizedBox(height: 20),
            Text(
              'Word: ${converter.convertAmountToWords(number)}',
              style: const TextStyle(fontSize: 20),
            ),
          ],
        ),
      ),
    );
  }
}
7
likes
0
pub points
94%
popularity

Publisher

verified publisherdayananda.tech

A Flutter package for both iOS and Android that converts a given amount to word in Indian Locale.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on indian_currency_to_word