timeZoneAwareDatepickerProviders top-level constant

  1. @Deprecated("use timeZoneAwareDatepickerModule")
List<List<Provider<Object>>> const timeZoneAwareDatepickerProviders

Bindings needed by material datepicker components, for clients who need to set a custom time zone.

Unlike datepickerBindings, does not include popupBindings. You must provide popupBindings separately.

The provided Clock uses system time, but the datepicker will use the timezone indicated by SettableTimeZone.

To use these bindings, you must initialize SettableTimeZone before constructing the datepicker, or console errors will occur.

Implementation

@Deprecated("use timeZoneAwareDatepickerModule")
const timeZoneAwareDatepickerProviders = [
  _sharedClockBindings,
  timeZoneAwareClockProviders,
];