MoneyText constructor

const MoneyText({
  1. Key? key,
  2. required double value,
  3. required String currency,
  4. String? numberFormat,
  5. double valueFontSize = 50,
  6. double currencyFontSize = 12,
  7. Color? color,
  8. bool? bold = false,
  9. TextAlign? textAlign,
})

Implementation

const MoneyText(
    {Key? key,
    required this.value,
    required this.currency,
    this.numberFormat,
    this.valueFontSize = 50,
    this.currencyFontSize = 12,
    this.color,
    this.bold = false,
    this.textAlign})
    : super(key: key);