dateToTime function

String dateToTime(
  1. BuildContext context, {
  2. required DateTime date,
})

Implementation

String dateToTime(BuildContext context, {required DateTime date}) =>
    TimeOfDay.fromDateTime(date).format(context);