ToolbarConfig constructor

const ToolbarConfig({
  1. List<ToolbarAction> androidAvailableActions = const [ToolbarAction.thumbnail, ToolbarAction.search, ToolbarAction.bota, ToolbarAction.menu],
  2. List<ToolbarAction> iosLeftBarAvailableActions = const [ToolbarAction.back, ToolbarAction.thumbnail],
  3. List<ToolbarAction> iosRightBarAvailableActions = const [ToolbarAction.search, ToolbarAction.bota, ToolbarAction.menu],
  4. 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,
    ]});