|
@@ -7,6 +7,7 @@
|
|
|
///
|
|
|
|
|
|
import 'package:compdfkit_flutter/cpdf_configuration.dart';
|
|
|
+import 'package:compdfkit_flutter/cpdf_options.dart';
|
|
|
import 'package:compdfkit_flutter/widgets/cpdf_reader_widget.dart';
|
|
|
import 'package:compdfkit_flutter/widgets/cpdf_reader_widget_controller.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
@@ -40,7 +41,7 @@ class _CPDFReaderWidgetExampleState extends State<CPDFReaderWidgetExample> {
|
|
|
),
|
|
|
body: CPDFReaderWidget(
|
|
|
document: widget.documentPath,
|
|
|
- configuration: CPDFConfiguration(),
|
|
|
+ configuration: CPDFConfiguration(toolbarConfig: ToolbarConfig(iosLeftBarAvailableActions: [ToolbarAction.thumbnail]),),
|
|
|
onCreated: (controller) {
|
|
|
setState(() {
|
|
|
_controller = controller;
|