MarkerScreen constructor
MarkerScreen({})
Implementation
MarkerScreen({
super.key,
required this.image,
this.defaultMarks,
this.onMarkAdded,
this.onMarkFocused,
this.onMarkImagesClick,
this.showImages,
this.controller,
this.sidebarIconsEnums,
this.customCanvasIcon,
}): assert (
// if condition is true assert will do nothing otherwise it will show this error msg
sidebarIconsEnums == null ||
!sidebarIconsEnums.contains(SidebarIconsEnum.customIcon) ||
customCanvasIcon != null,
'If you use SidebarIconsEnum.CustomIcon, you must provide a customIcon',
);