ToolbarConfig constructor
const
ToolbarConfig({
- List<
ToolbarAction> androidAvailableActions = const [ToolbarAction.thumbnail, ToolbarAction.search, ToolbarAction.bota, ToolbarAction.menu], - List<
ToolbarAction> iosLeftBarAvailableActions = const [ToolbarAction.back, ToolbarAction.thumbnail], - List<
ToolbarAction> iosRightBarAvailableActions = const [ToolbarAction.search, ToolbarAction.bota, ToolbarAction.menu], - List<
ToolbarMenuAction> availableMenus = const [ToolbarMenuAction.viewSettings, ToolbarMenuAction.documentEditor, ToolbarMenuAction.security, ToolbarMenuAction.watermark, ToolbarMenuAction.flattened, ToolbarMenuAction.documentInfo, ToolbarMenuAction.save, ToolbarMenuAction.share, ToolbarMenuAction.openDocument],
Implementation
const ToolbarConfig(
{this.androidAvailableActions = const [
ToolbarAction.thumbnail,
ToolbarAction.search,
ToolbarAction.bota,
ToolbarAction.menu,
],
this.iosLeftBarAvailableActions = const [
ToolbarAction.back,
ToolbarAction.thumbnail,
],
this.iosRightBarAvailableActions = const [
ToolbarAction.search,
ToolbarAction.bota,
ToolbarAction.menu
],
this.availableMenus = const [
ToolbarMenuAction.viewSettings,
ToolbarMenuAction.documentEditor,
ToolbarMenuAction.security,
ToolbarMenuAction.watermark,
ToolbarMenuAction.flattened,
ToolbarMenuAction.documentInfo,
ToolbarMenuAction.save,
ToolbarMenuAction.share,
ToolbarMenuAction.openDocument,
]});