pspdfkit_flutter: Programmatically Navigate to page

19 Views Asked by At

How to enable navigation between preceding and subsequent pages through the button action within a Floating widget(which has next and previous buttons):

    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => FloatingDraggableWidget(
            mainScreenWidget:
                PspdfkitWidget(documentPath: documentPath, key: pspdfkitKey),
            floatingWidget: const FloatingControlPanel(),
            floatingWidgetWidth: 180,
            floatingWidgetHeight: 50,
      ),
    );
0

There are 0 best solutions below