CPDFToolbarConfig class
Configuration for top toolbar functionality.
Constructors
-
CPDFToolbarConfig({List<
CPDFToolbarAction> ? toolbarLeftItems, List<CPDFToolbarAction> ? toolbarRightItems, List<CPDFCustomToolbarItem> customToolbarLeftItems = const [], List<CPDFCustomToolbarItem> customToolbarRightItems = const [], List<CPDFCustomToolbarItem> customMoreMenuItems = const [], List<CPDFToolbarAction> availableMenus = const [CPDFToolbarAction.viewSettings, CPDFToolbarAction.documentEditor, CPDFToolbarAction.security, CPDFToolbarAction.watermark, CPDFToolbarAction.flattened, CPDFToolbarAction.documentInfo, CPDFToolbarAction.save, CPDFToolbarAction.share, CPDFToolbarAction.openDocument, CPDFToolbarAction.snip], bool mainToolbarVisible = true, bool annotationToolbarVisible = true, bool showInkToggleButton = true, bool contentEditorToolbarVisible = true, bool formToolbarVisible = true, bool signatureToolbarVisible = true})
Properties
- annotationToolbarVisible → bool
-
final
-
availableMenus
→ List<
CPDFToolbarAction> -
Configure the menu options opened in the top toolbar CPDFToolbarAction.menu
final
- contentEditorToolbarVisible → bool
-
final
-
customMoreMenuItems
→ List<
CPDFCustomToolbarItem> -
final
-
customToolbarLeftItems
→ List<
CPDFCustomToolbarItem> -
final
-
customToolbarRightItems
→ List<
CPDFCustomToolbarItem> -
final
- formToolbarVisible → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainToolbarVisible → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInkToggleButton → bool
-
final
- signatureToolbarVisible → bool
-
final
-
toolbarLeftItems
→ List<
CPDFToolbarAction> -
Top toolbar actions
final
-
toolbarRightItems
→ List<
CPDFToolbarAction> -
Top toolbar right actions
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited