CPDFToolbarConfig constructor
const
CPDFToolbarConfig({
- List<
CPDFToolbarAction> androidAvailableActions = const [CPDFToolbarAction.thumbnail, CPDFToolbarAction.search, CPDFToolbarAction.bota, CPDFToolbarAction.menu], - List<
CPDFToolbarAction> iosLeftBarAvailableActions = const [CPDFToolbarAction.back, CPDFToolbarAction.thumbnail], - List<
CPDFToolbarAction> iosRightBarAvailableActions = const [CPDFToolbarAction.search, CPDFToolbarAction.bota, CPDFToolbarAction.menu], - List<
CPDFToolbarMenuAction> availableMenus = const [CPDFToolbarMenuAction.viewSettings, CPDFToolbarMenuAction.documentEditor, CPDFToolbarMenuAction.security, CPDFToolbarMenuAction.watermark, CPDFToolbarMenuAction.flattened, CPDFToolbarMenuAction.documentInfo, CPDFToolbarMenuAction.save, CPDFToolbarMenuAction.share, CPDFToolbarMenuAction.openDocument, CPDFToolbarMenuAction.snip], - 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});