NepaliNumberFormat constructor

NepaliNumberFormat({
  1. bool inWords = false,
  2. bool isMonetory = false,
  3. int? decimalDigits,
  4. String? symbol,
  5. bool symbolOnLeft = true,
  6. String delimiter = ',',
  7. bool spaceBetweenAmountAndSymbol = true,
  8. bool includeDecimalIfZero = true,
  9. Language? language,
})

Create a nepali number format.

Implementation

NepaliNumberFormat({
  this.inWords = false,
  this.isMonetory = false,
  this.decimalDigits,
  this.symbol,
  this.symbolOnLeft = true,
  this.delimiter = ',',
  this.spaceBetweenAmountAndSymbol = true,
  this.includeDecimalIfZero = true,
  Language? language,
}) : _lang = language ?? NepaliUtils().language;