DateLabel001 constructor

DateLabel001({
  1. DateTime? dateTime,
  2. bool? showYear,
  3. Color? color,
})

factory

Implementation

factory DateLabel001({DateTime? dateTime, bool? showYear, Color? color}) {
  return DateLabel001._(
    dateTime: dateTime ?? DateTime.now(),
    showYear: showYear ?? false,
    color: color ?? Colors.black,
  );
}