AutoAdjustingDateTimeTickProvider.createDefault constructor

AutoAdjustingDateTimeTickProvider.createDefault(
  1. DateTimeFactory dateTimeFactory
)

Creates a default AutoAdjustingDateTimeTickProvider for day and time.

Implementation

factory AutoAdjustingDateTimeTickProvider.createDefault(
    DateTimeFactory dateTimeFactory) {
  return AutoAdjustingDateTimeTickProvider._internal([
    createYearTickProvider(dateTimeFactory),
    createMonthTickProvider(dateTimeFactory),
    createDayTickProvider(dateTimeFactory),
    createHourTickProvider(dateTimeFactory),
    createMinuteTickProvider(dateTimeFactory)
  ]);
}