TimeAndStatus constructor

const TimeAndStatus({
  1. Key? key,
  2. required DateTime? time,
  3. MessageStatus? status,
  4. bool showTime = true,
  5. bool showStatus = true,
  6. Color? backgroundColor,
  7. TextStyle? textStyle,
})

Creates a widget for displaying time and status over an image.

Implementation

const TimeAndStatus({
  super.key,
  required this.time,
  this.status,
  this.showTime = true,
  this.showStatus = true,
  this.backgroundColor,
  this.textStyle,
});