CPDFToolbarConfig class
Configuration for top toolbar functionality.
Constructors
-
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]}) -
const
Properties
-
androidAvailableActions
→ List<
CPDFToolbarAction> -
Top toolbar actions for Android platform
final
-
availableMenus
→ List<
CPDFToolbarMenuAction> -
Configure the menu options opened in the top toolbar CPDFToolbarAction.menu
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iosLeftBarAvailableActions
→ List<
CPDFToolbarAction> -
Left toolbar actions for iOS platform
final
-
iosRightBarAvailableActions
→ List<
CPDFToolbarAction> -
Right toolbar actions for iOS platform
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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