PastTime constructor

PastTime({
  1. Key? key,
  2. required DateTime dateTime,
  3. Formatter formatter = Formatter.large,
  4. TextStyle? style,
  5. TextAlign? textAlign,
})

Create a widget that will show the given dateTime after formatting with Algo.formatTime

Implementation

PastTime({
  Key? key,
  required this.dateTime,
  this.formatter = Formatter.large,
  this.style,
  this.textAlign,
}) : super(key: key);