QudsDigitalClockViewer constructor

const QudsDigitalClockViewer({
  1. Key? key,
  2. bool showHour = true,
  3. bool showMinute = true,
  4. bool showSeconds = false,
  5. bool showMilliSeconds = false,
  6. bool format24 = true,
  7. bool showTimePeriod = true,
  8. TextStyle style = const TextStyle(fontSize: 18, color: Colors.white),
  9. TextStyle timePeriodStyle = const TextStyle(fontSize: 18),
  10. String amText = 'AM',
  11. String pmText = 'PM',
  12. Color? backgroundColor,
})

Create an instance of QudsDigitalClockViewer

Implementation

const QudsDigitalClockViewer(
    {Key? key,
    this.showHour = true,
    this.showMinute = true,
    this.showSeconds = false,
    this.showMilliSeconds = false,
    this.format24 = true,
    this.showTimePeriod = true,
    this.style = const TextStyle(fontSize: 18, color: Colors.white),
    this.timePeriodStyle = const TextStyle(fontSize: 18),
    this.amText = 'AM',
    this.pmText = 'PM',
    this.backgroundColor})
    : super(key: key);