MainClockView constructor

const MainClockView({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. bool isAlarmRinging = false,
  5. required VoidCallback onDismissAlarm,
  6. required VoidCallback onShowRsi,
  7. List<String>? alarmTimes,
  8. required dynamic onAddAlarm(
    1. DateTime
    ),
  9. required dynamic onDeleteAlarm(
    1. int
    ),
  10. bool useOnlyWatch = false,
  11. bool showMenuButtons = true,
  12. double scale = 1.0,
  13. bool showSec = true,
  14. Color fgColor = Colors.white,
  15. Color watchBgColor = Colors.black,
  16. 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,
});