AnimatedRelativeDateTimeBuilder constructor

const AnimatedRelativeDateTimeBuilder({
  1. Key? key,
  2. required DateTime date,
  3. bool animateOpacity = false,
  4. required Widget builder(
    1. RelativeDateTime relativeDateTime,
    2. String formatted
    ),
})

Implementation

const AnimatedRelativeDateTimeBuilder({
  Key? key,
  required this.date,
  this.animateOpacity = false,
  required this.builder,
}) : super(key: key);