CPDFToolbarConfig constructor

const CPDFToolbarConfig({
  1. List<CPDFToolbarAction> androidAvailableActions = const [CPDFToolbarAction.thumbnail, CPDFToolbarAction.search, CPDFToolbarAction.bota, CPDFToolbarAction.menu],
  2. List<CPDFToolbarAction> iosLeftBarAvailableActions = const [CPDFToolbarAction.back, CPDFToolbarAction.thumbnail],
  3. List<CPDFToolbarAction> iosRightBarAvailableActions = const [CPDFToolbarAction.search, CPDFToolbarAction.bota, CPDFToolbarAction.menu],
  4. List<CPDFToolbarMenuAction> availableMenus = const [CPDFToolbarMenuAction.viewSettings, CPDFToolbarMenuAction.documentEditor, CPDFToolbarMenuAction.security, CPDFToolbarMenuAction.watermark, CPDFToolbarMenuAction.flattened, CPDFToolbarMenuAction.documentInfo, CPDFToolbarMenuAction.save, CPDFToolbarMenuAction.share, CPDFToolbarMenuAction.openDocument, CPDFToolbarMenuAction.snip],
  5. bool mainToolbarVisible = true,
})

Implementation

const CPDFToolbarConfig(
    {this.androidAvailableActions = const [
      CPDFToolbarAction.thumbnail,
      CPDFToolbarAction.search,
      CPDFToolbarAction.bota,
      CPDFToolbarAction.menu,
    ],
    this.iosLeftBarAvailableActions = const [
      CPDFToolbarAction.back,
      CPDFToolbarAction.thumbnail,
    ],
    this.iosRightBarAvailableActions = const [
      CPDFToolbarAction.search,
      CPDFToolbarAction.bota,
      CPDFToolbarAction.menu
    ],
    this.availableMenus = const [
      CPDFToolbarMenuAction.viewSettings,
      CPDFToolbarMenuAction.documentEditor,
      CPDFToolbarMenuAction.security,
      CPDFToolbarMenuAction.watermark,
      CPDFToolbarMenuAction.flattened,
      CPDFToolbarMenuAction.documentInfo,
      CPDFToolbarMenuAction.save,
      CPDFToolbarMenuAction.share,
      CPDFToolbarMenuAction.openDocument,
      CPDFToolbarMenuAction.snip
    ],
    this.mainToolbarVisible = true});