RelativeDateTimeBuilder constructor

const RelativeDateTimeBuilder({
  1. Key? key,
  2. required DateTime date,
  3. required DateTime other,
  4. required Widget builder(
    1. RelativeDateTime relativeDateTime,
    2. String formatted
    ),
})

Implementation

const RelativeDateTimeBuilder({
  Key? key,
  required this.date,
  required this.other,
  required this.builder,
}) : super(key: key);