utc property

bool get utc

Implementation

bool get utc => _utc;
  1. @Input()
set utc (bool value)

Whether the widget returns time in the UTC time zone.

By default, the widget returns time in the local time zone.

Implementation

@Input()
set utc(bool value) {
  _utc = value;

  timeOptions =
      TimeSelectionOptions(_generateTimeOptions(_increment, utc: _utc));

  time = _time;
}