flutter_indian_utils

pub package License: MIT

A comprehensive utility package for Indian developers. Includes validators, formatters, and converters specifically designed for Indian formats like PAN, Aadhaar, GSTIN, mobile numbers, currency, and more.

Features

✅ Validators

  • PAN - Permanent Account Number validation
  • Aadhaar - Aadhaar number validation
  • GSTIN - GST Identification Number validation
  • IFSC - Bank IFSC code validation
  • Mobile - Indian mobile number validation
  • Vehicle Number - Indian vehicle registration number validation
  • Pincode - 6-digit pincode validation
  • Landline - Indian landline number validation

🎨 Formatters

  • Currency - Indian currency formatting (₹1,50,000.00)
  • Mobile - Format mobile numbers (+91 98765 43210)
  • Date/Time - Indian date and time formats
  • Vehicle Number - Format vehicle registration (MH-12-AB-1234)
  • PAN/Aadhaar - Format documents with proper separators
  • Number to Words - Convert numbers to Indian numbering words (Lakh, Crore)
  • Amount to Words - Convert currency to words (Rupees and Paise)

📍 Constants

  • States - All Indian states and union territories
  • State Codes - Map between state codes and names

Installation

Add this to your package's pubspec.yaml file:

Libraries

flutter_indian_utils
A comprehensive utility package for Indian developers.