PdfEditorPanelBuilder typedef

PdfEditorPanelBuilder = Widget Function(BuildContext context, PdfSidebarPanelGeometry geometry)

Builds a host panel's content inside the frame the editor gives it - a resizable column or strip on its dock, or a bottom sheet on a compact layout (PdfSidebarPanelGeometry.bottomSheet). Use geometry the way the stock panels do: PdfSidebarPanelGeometry.moveHandle and PdfSidebarPanelGeometry.closeButton for a header row (both null in a sheet, whose own chrome has the title and close button), and the content insets for the resize grip.

Implementation

typedef PdfEditorPanelBuilder = Widget Function(
    BuildContext context, PdfSidebarPanelGeometry geometry);