DigitalClock constructor

const DigitalClock({
  1. Key? key,
  2. TextStyle? textStyle,
  3. string? format = 'HH:mm:ss',
  4. string? locale,
  5. AlignmentGeometry? alignment,
  6. void onChange(
    1. string s
    )?,
  7. Duration shift = Duration.zero,
})

If true, the clock will update every millisecond. If false, the clock will update every second.

Implementation

const DigitalClock({super.key, this.textStyle, this.format = 'HH:mm:ss', this.locale, this.alignment, this.onChange, this.shift = Duration.zero});