Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter main toolbar customization demo #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mutumbakato
Copy link
Collaborator

This pull request introduces significant enhancements to the PSPDFKit Flutter plugin, particularly focusing on the customization of toolbar items. The changes include adding support for custom toolbar items, updating the API to handle these customizations, and making necessary modifications to various files to integrate this new feature.

Custom Toolbar Item Support:

API Enhancements:

Generated Code Updates:

Example Updates:

Dart API Updates:

  • lib/pspdfkit.dart: Exported the new custom_toolbar_item.dart file to make the CustomToolbarItem class available for use.

  • lib/src/toolbar/custom_toolbar_item.dart: Added a new class CustomToolbarItem to represent custom toolbar items, including properties for identifier, title, icon name, icon color, and position.

@mutumbakato mutumbakato changed the title Flutter toolbar customization demo Flutter main toolbar customization demo Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant