number_to_word_thai 0.0.2
number_to_word_thai: ^0.0.2 copied to clipboard
Convert number to Thai words
Example #
//NumberToWordThai.convert(99);
return Obx(
() => Column(
children: [
TextField(
keyboardType: TextInputType.number,
onChanged: (text) {
if (text.isEmpty) {
word.value = "";
} else {
word.value = NumberToWordThai.convert(int.parse(text));
}
},
),
Text(
word.value,
style: const TextStyle(fontSize: 16),
),
],
),
);