CPDFHeaderFooter class

Complete document header and footer configuration.

Page indexes are zero-based. Updating replaces all six native positions; use an empty CPDFHeaderFooterSlot.text to clear an individual position.

Constructors

CPDFHeaderFooter({required List<int> pages, required EdgeInsets margin, required List<CPDFHeaderFooterSlot> slots})
const
CPDFHeaderFooter.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
margin → EdgeInsets
final
pages → List<int>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → List<CPDFHeaderFooterSlot>
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
validate() → String?
Returns a validation error, or null when this value can be submitted.

Operators

operator ==(Object other) → bool
The equality operator.
inherited