AmountDisplay constructor

const AmountDisplay({
  1. Key? key,
  2. required Money? amount,
  3. AmountDirection direction = AmountDirection.none,
  4. TextStyle? style,
  5. bool showCurrency = true,
  6. String placeholder = '\u2014',
  7. bool compact = false,
  8. String prefix = '',
  9. String suffix = '',
})

Implementation

const AmountDisplay({
  super.key,
  required this.amount,
  this.direction = AmountDirection.none,
  this.style,
  this.showCurrency = true,
  this.placeholder = '\u2014',
  this.compact = false,
  this.prefix = '',
  this.suffix = '',
});