MainClockView constructor
const
MainClockView({
- Key? key,
- required double width,
- required double height,
- bool isAlarmRinging = false,
- required VoidCallback onDismissAlarm,
- required VoidCallback onShowRsi,
- List<
String> ? alarmTimes, - required dynamic onAddAlarm(),
- required dynamic onDeleteAlarm(),
- bool useOnlyWatch = false,
- bool showMenuButtons = true,
- double scale = 1.0,
- bool showSec = true,
- Color fgColor = Colors.white,
- Color watchBgColor = Colors.black,
- bool showDate = true,
Implementation
const MainClockView({
super.key,
required this.width,
required this.height,
this.isAlarmRinging = false,
required this.onDismissAlarm,
required this.onShowRsi,
this.alarmTimes,
required this.onAddAlarm,
required this.onDeleteAlarm,
this.useOnlyWatch = false,
this.showMenuButtons = true,
this.scale = 1.0,
this.showSec = true,
this.fgColor = Colors.white,
this.watchBgColor = Colors.black,
this.showDate = true,
});