Clock constructor

const Clock({
  1. required DateTime time,
  2. Color circleColor = const Color(0xfffe1ecf7),
  3. Color shadowColor = const Color(0xffd9e2ed),
  4. ClockText clockText = ClockText.arabic,
  5. Duration updateDuration = const Duration(seconds: 1),
})

Implementation

const Clock({
  required this.time,
  this.circleColor = const Color(0xfffe1ecf7),
  this.shadowColor = const Color(0xffd9e2ed),
  this.clockText = ClockText.arabic,
  this.updateDuration = const Duration(seconds: 1),
});