QudsDigitalClockViewer constructor
const
QudsDigitalClockViewer({
- Key? key,
- bool showHour = true,
- bool showMinute = true,
- bool showSeconds = false,
- bool showMilliSeconds = false,
- bool format24 = true,
- bool showTimePeriod = true,
- TextStyle style = const TextStyle(fontSize: 18, color: Colors.white),
- TextStyle timePeriodStyle = const TextStyle(fontSize: 18),
- String amText = 'AM',
- String pmText = 'PM',
- 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);