annotationToolbars property
set
annotationToolbars
(List value)
A list of CustomToolbar objects or DefaultToolbars constants that define a set of annotation toolbars.
var customToolItem = new CustomToolbarItem('add_page', 'Add Page', 'ic_add_blank_page_white');
var customToolbar = new CustomToolbar('myToolbar', 'myToolbar', [Tools.annotationCreateArrow, customToolItem], ToolbarIcons.favorite);
config.annotationToolbars = [DefaultToolbars.annotate, customToolbar];
If used, the default toolbars no longer show. Defaults to empty.
Implementation
set annotationToolbars(List value) => _annotationToolbars = value;