DateHeader constructor

const DateHeader({
  1. required DateTime dateTime,
  2. required String text,
})

Creates a date header.

Implementation

const DateHeader({
  required this.dateTime,
  required this.text,
});