RelativeTimeConfig constructor

const RelativeTimeConfig({
  1. bool abbreviated = false,
  2. bool capitalize = false,
  3. bool useToday = false,
  4. int? nowThresholdSeconds,
  5. String pastPrefix = 'ago',
  6. String futurePrefix = 'in',
  7. Map<TimeUnit, String Function(int, bool abbreviated)>? formatters,
})

Implementation

const RelativeTimeConfig({
  this.abbreviated = false,
  this.capitalize = false,
  this.useToday = false,
  this.nowThresholdSeconds,
  this.pastPrefix = 'ago',
  this.futurePrefix = 'in',
  this.formatters,
});